[ARM] fix pnx4008 build errors
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 8 Aug 2008 14:13:27 +0000 (15:13 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 Aug 2008 14:13:27 +0000 (15:13 +0100)
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 <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pnx4008/include/mach/i2c.h
include/linux/i2c-pnx.h

index 92e8d65006f703158d147a0057e53af32515bb9a..259ac53abf40fbec72620e5234fbc806a3cfdfef 100644 (file)
@@ -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,
index e6e9c814da61a5123120658631a494fa950a91f5..f13255e06406aa9eb7a8c60485599b960a976f8b 100644 (file)
@@ -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 */