* [PATCH] omap: usb: fix build warning
@ 2010-08-18 9:25 Anand Gadiyar
2010-08-19 7:23 ` Felipe Balbi
0 siblings, 1 reply; 2+ messages in thread
From: Anand Gadiyar @ 2010-08-18 9:25 UTC (permalink / raw)
To: linux-omap; +Cc: Anand Gadiyar
Fix this and similar build warnings when building with
omap_4430sdp_defconfig.
CC arch/arm/mach-omap2/board-4430sdp.o
In file included from arch/arm/mach-omap2/board-4430sdp.c:36:
arch/arm/plat-omap/include/plat/usb.h:109: warning: return type defaults to 'int'
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
---
arch/arm/plat-omap/include/plat/usb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/arch/arm/plat-omap/include/plat/usb.h
===================================================================
--- linux-2.6.orig/arch/arm/plat-omap/include/plat/usb.h 2010-08-18 14:52:01.076453606 +0530
+++ linux-2.6/arch/arm/plat-omap/include/plat/usb.h 2010-08-18 14:52:09.652178332 +0530
@@ -105,7 +105,7 @@
#if defined(CONFIG_ARCH_OMAP_OTG) || defined(CONFIG_ARCH_OMAP_OTG_MODULE)
void omap2_usbfs_init(struct omap_usb_config *pdata);
#else
-static inline omap2_usbfs_init(struct omap_usb_config *pdata)
+static inline void omap2_usbfs_init(struct omap_usb_config *pdata)
{
}
#endif
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] omap: usb: fix build warning
2010-08-18 9:25 [PATCH] omap: usb: fix build warning Anand Gadiyar
@ 2010-08-19 7:23 ` Felipe Balbi
0 siblings, 0 replies; 2+ messages in thread
From: Felipe Balbi @ 2010-08-19 7:23 UTC (permalink / raw)
To: ext Anand Gadiyar; +Cc: linux-omap@vger.kernel.org
On Wed, Aug 18, 2010 at 11:25:27AM +0200, ext Anand Gadiyar wrote:
>Fix this and similar build warnings when building with
>omap_4430sdp_defconfig.
>
> CC arch/arm/mach-omap2/board-4430sdp.o
>In file included from arch/arm/mach-omap2/board-4430sdp.c:36:
>arch/arm/plat-omap/include/plat/usb.h:109: warning: return type defaults to 'int'
>
>Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
--
balbi
DefectiveByDesign.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-19 7:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-18 9:25 [PATCH] omap: usb: fix build warning Anand Gadiyar
2010-08-19 7:23 ` Felipe Balbi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.