From: Russell King Date: Fri, 8 Aug 2008 14:13:27 +0000 (+0100) Subject: [ARM] fix pnx4008 build errors X-Git-Tag: v2.6.27-rc3~67^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2727f226a65e034f93846def7fab314dee430df3;p=linux-2.6 [ARM] fix pnx4008 build errors include/linux/i2c-pnx.h was missed when moving the include files. Fix it now; it doesn't really need to include mach/i2c.h at all. Successfully build tested with pnx4008_defconfig, which had failed in linux-next. Signed-off-by: Russell King --- diff --git a/arch/arm/mach-pnx4008/include/mach/i2c.h b/arch/arm/mach-pnx4008/include/mach/i2c.h index 92e8d65006..259ac53abf 100644 --- a/arch/arm/mach-pnx4008/include/mach/i2c.h +++ b/arch/arm/mach-pnx4008/include/mach/i2c.h @@ -12,9 +12,6 @@ #ifndef __ASM_ARCH_I2C_H__ #define __ASM_ARCH_I2C_H__ -#include -#include - enum { mstatus_tdi = 0x00000001, mstatus_afi = 0x00000002, diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h index e6e9c814da..f13255e064 100644 --- a/include/linux/i2c-pnx.h +++ b/include/linux/i2c-pnx.h @@ -12,7 +12,9 @@ #ifndef __I2C_PNX_H__ #define __I2C_PNX_H__ -#include +#include + +struct platform_device; struct i2c_pnx_mif { int ret; /* Return value */