summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/arch/arm/mach-pxa/devices.c2
-rw-r--r--linux/arch/arm/mach-pxa/pcm990-baseboard.c6
2 files changed, 8 insertions, 0 deletions
diff --git a/linux/arch/arm/mach-pxa/devices.c b/linux/arch/arm/mach-pxa/devices.c
index 5b7747052..5ec10735b 100644
--- a/linux/arch/arm/mach-pxa/devices.c
+++ b/linux/arch/arm/mach-pxa/devices.c
@@ -32,7 +32,9 @@
#include <mach/audio.h>
#include <mach/pxa3xx_nand.h>
#else
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
#include <mach/pxa-regs.h>
+#endif
#include <mach/udc.h>
#include <mach/pxafb.h>
#include <mach/mmc.h>
diff --git a/linux/arch/arm/mach-pxa/pcm990-baseboard.c b/linux/arch/arm/mach-pxa/pcm990-baseboard.c
index d1df34985..7a95c80ab 100644
--- a/linux/arch/arm/mach-pxa/pcm990-baseboard.c
+++ b/linux/arch/arm/mach-pxa/pcm990-baseboard.c
@@ -48,14 +48,20 @@
#include <asm/arch/pxafb.h>
#include <asm/arch/mfp-pxa27x.h>
#else
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
#include <mach/pxa-regs.h>
+#else
+#include <mach/pxa27x.h>
+#endif
#include <mach/audio.h>
#include <mach/mmc.h>
#include <mach/ohci.h>
#include <mach/pcm990_baseboard.h>
#include <mach/pxafb.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
#include <mach/mfp-pxa27x.h>
#endif
+#endif
#include "devices.h"
#include "generic.h"