[PATCH 05/16] arm/mx2/pca100: add #ifdef to fix compiler warning

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue May 25 05:04:31 EDT 2010


Hello Wolfram,

On Tue, May 25, 2010 at 02:06:56AM +0200, Wolfram Sang wrote:
> On Mon, May 24, 2010 at 09:55:40PM +0200, Uwe Kleine-König wrote:
> > This fixes:
> > 
> > 	arch/arm/mach-mx2/mach-pca100.c:261: warning: 'otg_pdata' defined but not used
> > 	arch/arm/mach-mx2/mach-pca100.c:273: warning: 'usbh2_pdata' defined but not used
> > 
> > for build having USB_ULPI disabled.
> 
> See:
> 
> http://article.gmane.org/gmane.linux.ports.arm.kernel/80438/
ah, OK, your patch looks more complete.  I dropped my patch and took
your's instead.  While at it I took "[PATCH] pcm037: fix build warning",
too.

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list