On Fri, 15 Apr 2011 14:19:46 +0900 Kuninori Morimoto wrote: > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> > --- > drivers/usb/renesas_usbhs/Kconfig | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/usb/renesas_usbhs/Kconfig b/drivers/usb/renesas_usbhs/Kconfig > index 481490e..b2e6491 100644 > --- a/drivers/usb/renesas_usbhs/Kconfig > +++ b/drivers/usb/renesas_usbhs/Kconfig > @@ -4,6 +4,7 @@ > > config USB_RENESAS_USBHS > tristate 'Renesas USBHS controller' > + depends on SUPERH || ARCH_SHMOBILE > default n > help > Renesas USBHS is a discrete USB host and peripheral controller chip > -- Hi, Is SUPERH 32-bit or 64-bit? or can it be either? Since this patch isn't merged yet, I am seeing builds on x86_64 with lots of warnings (below). And can you please explain the (u32) parts of this macro from pipe.h ? #define usbhs_pipe_number(p) (((u32)(p) - (u32)(p)->priv->pipe_info.pipe) / \ sizeof(struct usbhs_pipe)) build warnings: drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_pipectrl_set': drivers/usb/renesas_usbhs/pipe.c:81: warning: cast from pointer to integer of different size drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_pipectrl_get': drivers/usb/renesas_usbhs/pipe.c:92: warning: cast from pointer to integer of different size drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_pipe_select': drivers/usb/renesas_usbhs/pipe.c:180: warning: cast from pointer to integer of different size drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_fifo_select': drivers/usb/renesas_usbhs/pipe.c:350: warning: cast from pointer to integer of different size drivers/usb/renesas_usbhs/pipe.c: In function 'usbhsp_setup_pipebuff': drivers/usb/renesas_usbhs/pipe.c:604: warning: cast from pointer to integer of different size drivers/usb/renesas_usbhs/pipe.c: In function 'usbhs_pipe_malloc': drivers/usb/renesas_usbhs/pipe.c:775: warning: cast from pointer to integer of different size drivers/usb/renesas_usbhs/pipe.c:775: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' drivers/usb/renesas_usbhs/pipe.c:795: warning: cast from pointer to integer of different size drivers/usb/renesas_usbhs/pipe.c:795: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' thanks, --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html