Commit 2727f226 authored by Russell King's avatar Russell King Committed by Russell King

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 058ddee5
...@@ -12,9 +12,6 @@ ...@@ -12,9 +12,6 @@
#ifndef __ASM_ARCH_I2C_H__ #ifndef __ASM_ARCH_I2C_H__
#define __ASM_ARCH_I2C_H__ #define __ASM_ARCH_I2C_H__
#include <linux/pm.h>
#include <linux/platform_device.h>
enum { enum {
mstatus_tdi = 0x00000001, mstatus_tdi = 0x00000001,
mstatus_afi = 0x00000002, mstatus_afi = 0x00000002,
......
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
#ifndef __I2C_PNX_H__ #ifndef __I2C_PNX_H__
#define __I2C_PNX_H__ #define __I2C_PNX_H__
#include <asm/arch/i2c.h> #include <linux/pm.h>
struct platform_device;
struct i2c_pnx_mif { struct i2c_pnx_mif {
int ret; /* Return value */ int ret; /* Return value */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment