]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
media: davinci: allow build vpbe_display with COMPILE_TEST
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 5 Apr 2018 16:31:39 +0000 (12:31 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 17 Apr 2018 09:11:10 +0000 (05:11 -0400)
commit05c90900e24be491102a6018e242ee7ca602918b
tree74c9911bae3bfc91cfe2d136fda1c7059c48cb39
parentb8952ee685505787cdc8406d04a48c1023781439
media: davinci: allow build vpbe_display with COMPILE_TEST

Except for some includes (with doesn't seem to be used), this
driver builds fine with COMPILE_TEST.

So, add checks there to avoid building it if ARCH_DAVINCI
is not selected.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/Kconfig
drivers/media/platform/davinci/vpbe_display.c
drivers/media/platform/davinci/vpbe_osd.c
drivers/media/platform/davinci/vpbe_venc.c