diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2016-05-15 23:34:51 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-05-16 19:57:35 -0700 |
commit | 5319a889eafc5c8c13ef51e38fed224c4c3b33f2 (patch) | |
tree | 6478e2c6d8ff37fe3ca286c45bc26e849ed8819d /drivers/staging/greybus/es2.c | |
parent | 8c81d4608dc54225005129e32cf5d2035176df5e (diff) | |
download | op-kernel-dev-5319a889eafc5c8c13ef51e38fed224c4c3b33f2.zip op-kernel-dev-5319a889eafc5c8c13ef51e38fed224c4c3b33f2.tar.gz |
greybus: es2.c: Declare local __le64 not u64
The value passed to le64_to_cpu wants to be an __le64 not a u64.
Note to self - remember to run "make check"
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reported-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/es2.c')
-rw-r--r-- | drivers/staging/greybus/es2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c index d6abfda..947ebae 100644 --- a/drivers/staging/greybus/es2.c +++ b/drivers/staging/greybus/es2.c @@ -773,7 +773,7 @@ static int timesync_get_last_event(struct gb_host_device *hd, u64 *frame_time) int retval; struct es2_ap_dev *es2 = hd_to_es2(hd); struct usb_device *udev = es2->usb_dev; - u64 *response_frame_time; + __le64 *response_frame_time; response_frame_time = kzalloc(sizeof(*response_frame_time), GFP_KERNEL); if (!response_frame_time) |