aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/leds-mainstone.c
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2009-01-02 23:17:22 +0800
committerEric Miao <eric.miao@marvell.com>2009-03-09 21:22:36 +0800
commit51c62982a33d9086fd8876293411d28a5f97247a (patch)
treec3f0dd5cb7dfd20c17d307c7a7ab851217cef5ee /arch/arm/mach-pxa/leds-mainstone.c
parent[ARM] pxa/magician: remove unused forward declaration of pasic3 (diff)
downloadlinux-dev-51c62982a33d9086fd8876293411d28a5f97247a.tar.xz
linux-dev-51c62982a33d9086fd8876293411d28a5f97247a.zip
[ARM] pxa: introduce pxa{25x,27x,300,320,930}.h for board usage
Considering the header mess ATM, it is not always possible to include the correct header files within board code. Let's keep this simple: <mach/pxa25x.h> - for pxa25x based platforms <mach/pxa27x.h> - for pxa27x based platforms <mach/pxa300.h> - for pxa300 based platforms <mach/pxa320.h> - for pxa320 based platforms <mach/pxa930.h> - for pxa930 based platforms NOTE: 1. one header one board file, they are not compatible (i.e. they have conflicting definitions which won't compile if included together). 2. Unless strictly necessary, the following header files are considered to be SoC files use _only_, and is not recommended to be included in board code: <mach/hardware.h> <mach/pxa-regs.h> <mach/pxa2xx-regs.h> <mach/pxa3xx-regs.h> <mach/mfp.h> <mach/mfp-pxa2xx.h> <mach/mfp-pxa25x.h> <mach/mfp-pxa27x.h> <mach/mfp-pxa3xx.h> <mach/mfp-pxa300.h> <mach/mfp-pxa320.h> <mach/mfp-pxa930.h> Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/leds-mainstone.c')
-rw-r--r--arch/arm/mach-pxa/leds-mainstone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/leds-mainstone.c b/arch/arm/mach-pxa/leds-mainstone.c
index 95e06b849634..db4af5eee8b2 100644
--- a/arch/arm/mach-pxa/leds-mainstone.c
+++ b/arch/arm/mach-pxa/leds-mainstone.c
@@ -16,7 +16,7 @@
#include <asm/leds.h>
#include <asm/system.h>
-#include <mach/pxa-regs.h>
+#include <mach/pxa27x.h>
#include <mach/mainstone.h>
#include "leds.h"