summaryrefslogtreecommitdiff
path: root/linux/arch/arm/mach-pxa/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/arch/arm/mach-pxa/devices.c')
-rw-r--r--linux/arch/arm/mach-pxa/devices.c2
1 files changed, 2 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>