]> git.karo-electronics.de Git - linux-beck.git/commit
[media] davinci: do not include mach/hardware.h
authorArnd Bergmann <arnd@arndb.de>
Thu, 14 Feb 2013 17:13:15 +0000 (18:13 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 Feb 2013 12:15:39 +0000 (13:15 +0100)
commitc38cd8729c90495687ad027a993099d9972ffbf1
treebc7411fa9ceaff59fa1d13a9a937b8c337c49677
parentad1bb1b4e01c5ecbe32133ce6921d0e76cb76dcf
[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 <arnd@arndb.de>
Acked-by: "Lad, Prabhakar" <prabhakar.lad@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/vpss.c