usb: renesas_usbhs: fix build warning if 64-bit architecture
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tue, 29 Sep 2015 09:21:18 +0000 (18:21 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 09:59:03 +0000 (10:59 +0100)
commitf975c5cdb53c1cfef18c28aaae8385e5d16bc104
treee4e268b2510e52799fe51c85c2470e2a160ab81a
parent635e664a6b4d4b9c12f507045d156ea419b62dff
usb: renesas_usbhs: fix build warning if 64-bit architecture

This patch fixes the following warning if 64-bit architecture environment:

./drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  dparam->type = of_id ? (u32)of_id->data : 0;

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/renesas_usbhs/common.c
include/linux/usb/renesas_usbhs.h