aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYoshihiro Shimoda <[email protected]>2015-09-29 18:21:18 +0900
committerFelipe Balbi <[email protected]>2015-09-30 11:21:03 -0500
commit9ae7ce00cc1353155b1914bfc40e8362efef7d1c (patch)
treeaf151fc34cd35076217dbe68f3cdcf025d878213 /include/linux
parent7022cfdfe07dcfccc294f04de5f75e0a37b16174 (diff)
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; Acked-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Yoshihiro Shimoda <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'include/linux')
-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 3dd5a781da99..bfb74723f151 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;
/*