Commit 2727f226a65e034f93846def7fab314dee430df3

Authored by Russell King
Committed by Russell King
1 parent 058ddee562

[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>

Showing 2 changed files with 3 additions and 4 deletions Side-by-side Diff

arch/arm/mach-pnx4008/include/mach/i2c.h
... ... @@ -12,9 +12,6 @@
12 12 #ifndef __ASM_ARCH_I2C_H__
13 13 #define __ASM_ARCH_I2C_H__
14 14  
15   -#include <linux/pm.h>
16   -#include <linux/platform_device.h>
17   -
18 15 enum {
19 16 mstatus_tdi = 0x00000001,
20 17 mstatus_afi = 0x00000002,
include/linux/i2c-pnx.h
... ... @@ -12,7 +12,9 @@
12 12 #ifndef __I2C_PNX_H__
13 13 #define __I2C_PNX_H__
14 14  
15   -#include <asm/arch/i2c.h>
  15 +#include <linux/pm.h>
  16 +
  17 +struct platform_device;
16 18  
17 19 struct i2c_pnx_mif {
18 20 int ret; /* Return value */