Skip to content

Commit

Permalink
[ARM] fix pnx4008 build errors
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King authored and Russell King committed Aug 8, 2008
1 parent 058ddee commit 2727f22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-pnx4008/include/mach/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 3 additions & 1 deletion include/linux/i2c-pnx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 2727f22

Please sign in to comment.