From: Arnd Bergmann Date: Thu, 14 Feb 2013 17:13:15 +0000 (+0100) Subject: [media] davinci: do not include mach/hardware.h X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c38cd8729c90495687ad027a993099d9972ffbf1;p=linux-beck.git [media] davinci: do not include mach/hardware.h It is now possible to build the davinci vpss code on multiplatform kernels, which causes a problem since the driver tries to incude the davinci platform specific mach/hardware.h file. Fortunately that file is not required at all in the driver, so we can simply remove the #include statement. Without this patch, building allyesconfig results in: drivers/media/platform/davinci/vpss.c:28:27: fatal error: mach/hardware.h: No such file or directory compilation terminated. Signed-off-by: Arnd Bergmann Acked-by: "Lad, Prabhakar" Acked-by: Tony Lindgren Cc: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/davinci/vpss.c b/drivers/media/platform/davinci/vpss.c index cdbff88e0f1e..684e815a81b6 100644 --- a/drivers/media/platform/davinci/vpss.c +++ b/drivers/media/platform/davinci/vpss.c @@ -25,7 +25,6 @@ #include #include #include -#include #include MODULE_LICENSE("GPL");