Commit ccbb51ed authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: Merge branch 'master' of github.com:gregkh/greybus

parents f91121b4 a6294fe8
......@@ -147,7 +147,7 @@ static ssize_t serial_number_show(struct device *dev,
struct greybus_device *gdev = to_greybus_device(dev);
return sprintf(buf, "%llX\n",
(unsigned long long)gdev->serial_number.serial_number);
(unsigned long long)le64_to_cpu(gdev->serial_number.serial_number));
}
static DEVICE_ATTR_RO(serial_number);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment