summaryrefslogtreecommitdiff
path: root/include/linux/i2c-pnx.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-08-08 15:13:27 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-08-08 15:13:27 +0100
commit2727f226a65e034f93846def7fab314dee430df3 (patch)
tree68af1b225c3501358ec2666bf401f165a9eee739 /include/linux/i2c-pnx.h
parent058ddee5625ade9e9e011b9ae155ac3b8d4eda3a (diff)
[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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/i2c-pnx.h')
-rw-r--r--include/linux/i2c-pnx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h
index e6e9c814da61..f13255e06406 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 */