summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2015-09-29 18:21:18 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 10:59:03 +0100
commitf975c5cdb53c1cfef18c28aaae8385e5d16bc104 (patch)
treee4e268b2510e52799fe51c85c2470e2a160ab81a /include/linux/usb
parent635e664a6b4d4b9c12f507045d156ea419b62dff (diff)
downloadop-kernel-dev-f975c5cdb53c1cfef18c28aaae8385e5d16bc104.zip
op-kernel-dev-f975c5cdb53c1cfef18c28aaae8385e5d16bc104.tar.gz
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>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/renesas_usbhs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/renesas_usbhs.h b/include/linux/usb/renesas_usbhs.h
index 3dd5a78..bfb7472 100644
--- a/include/linux/usb/renesas_usbhs.h
+++ b/include/linux/usb/renesas_usbhs.h
@@ -157,7 +157,7 @@ struct renesas_usbhs_driver_param {
*/
int pio_dma_border; /* default is 64byte */
- u32 type;
+ uintptr_t type;
u32 enable_gpio;
/*
OpenPOWER on IntegriCloud