[PATCH 2/2] ARM : OMAP : Add empty function in header file

2009-12-31 Thread Maulik Mankad
ARM : OMAP : Add empty function in header file This patch adds empty functions for usb_nop_xceiv_register() and usb_nop_xceiv_unregister() so that these functions can be called even when CONFIG_NOP_USB_XCEIV is not enabled. It allows to remove ifdef's from board file. Signed-off-by: Maulik

Re: [PATCH 2/2] ARM : OMAP : Add empty function in header file

2009-12-31 Thread Sergei Shtylyov
Hello. Maulik Mankad wrote: ARM : OMAP : Add empty function in header file This patch adds empty functions for usb_nop_xceiv_register() and usb_nop_xceiv_unregister() so that these functions can be called even when CONFIG_NOP_USB_XCEIV is not enabled. It allows to remove ifdef's from

Re: [PATCH 2/2] ARM : OMAP : Add empty function in header file

2009-12-31 Thread Felipe Balbi
Hi, On Thu, 2009-12-31 at 18:43 +0530, Maulik Mankad wrote: +#if defined(CONFIG_USB) || defined(CONFIG_USB_GADGET) how about using CONFIG_USB_NOP_XCEIV -- balbi -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More