* Anuj Aggarwal <anuj.aggarwal@xxxxxx> [100302 02:52]: > Fixes the below build warning when compiled with omap3_defconfig: > > CC arch/arm/mach-omap2/board-am3517evm.o > In file included from arch/arm/mach-omap2/board-am3517evm.c:23: > include/linux/i2c/pca953x.h:14: warning: 'struct i2c_client' declared > inside parameter list > include/linux/i2c/pca953x.h:14: warning: its scope is only this definition > or declaration, which is probably not what you want > include/linux/i2c/pca953x.h:17: warning: 'struct i2c_client' declared inside > parameter list > CC arch/arm/mach-omap2/usb-musb.o > > Signed-off-by: Anuj Aggarwal <anuj.aggarwal@xxxxxx> > --- > include/linux/i2c/pca953x.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/include/linux/i2c/pca953x.h b/include/linux/i2c/pca953x.h > index 81736d6..6c8f853 100644 > --- a/include/linux/i2c/pca953x.h > +++ b/include/linux/i2c/pca953x.h > @@ -1,4 +1,5 @@ > /* platform data for the PCA9539 16-bit I/O expander driver */ > +#include <linux/i2c.h> > > struct pca953x_platform_data { > /* number of the first GPIO */ > This needs to go via the I2C list. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html