From 7804585be37d9aa982df2d476a795cbe459dae4a Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 30 Aug 2008 11:07:04 -0300 Subject: Backport changes on arch From: Mauro Carvalho Chehab kernel-sync: Signed-off-by: Mauro Carvalho Chehab --- linux/arch/arm/mach-pxa/devices.c | 16 ++++++++++++++++ linux/arch/arm/mach-pxa/pcm990-baseboard.c | 17 +++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/linux/arch/arm/mach-pxa/devices.c b/linux/arch/arm/mach-pxa/devices.c index 84489dc51..c77a4f753 100644 --- a/linux/arch/arm/mach-pxa/devices.c +++ b/linux/arch/arm/mach-pxa/devices.c @@ -4,6 +4,7 @@ #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) #include #include #include @@ -17,6 +18,21 @@ #include #include #include +#else +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#endif #include "devices.h" #include "generic.h" diff --git a/linux/arch/arm/mach-pxa/pcm990-baseboard.c b/linux/arch/arm/mach-pxa/pcm990-baseboard.c index 30023b00e..973370295 100644 --- a/linux/arch/arm/mach-pxa/pcm990-baseboard.c +++ b/linux/arch/arm/mach-pxa/pcm990-baseboard.c @@ -22,16 +22,24 @@ #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) #include +#endif #include #include #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) #include #include +#else +#include +#include +#endif #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) #include #include #include @@ -39,6 +47,15 @@ #include #include #include +#else +#include +#include +#include +#include +#include +#include +#include +#endif #include "devices.h" #include "generic.h" -- cgit v1.2.3