diff options
-rw-r--r-- | arch/arm/mach-pnx4008/include/mach/i2c.h | 3 | ||||
-rw-r--r-- | include/linux/i2c-pnx.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-pnx4008/include/mach/i2c.h b/arch/arm/mach-pnx4008/include/mach/i2c.h index 92e8d65006f..259ac53abf4 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 <linux/pm.h> -#include <linux/platform_device.h> - enum { mstatus_tdi = 0x00000001, mstatus_afi = 0x00000002, diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h index e6e9c814da6..f13255e0640 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 <asm/arch/i2c.h> +#include <linux/pm.h> + +struct platform_device; struct i2c_pnx_mif { int ret; /* Return value */ |