]> git.baikalelectronics.ru Git - kernel.git/commit
[media] vsp1: clarify FCP dependency
authorArnd Bergmann <arnd@arndb.de>
Thu, 30 Jun 2016 12:23:03 +0000 (09:23 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 13 Jul 2016 16:46:34 +0000 (13:46 -0300)
commit4a00ac38e694411f07c89f61acf2181d98b9e7d6
treee6dcb637de4a95a1532dfc11ddd74d7fca43fed3
parent71e1c60393b483e9f1a3070150f822f73b7c1140
[media] vsp1: clarify FCP dependency

The newly added FCP support in the vsp1 driver causes a link error
when CONFIG_RENESAS_FCP=m, since it's not reachable by built-in code:

drivers/media/built-in.o: In function `vsp1_remove':
:(.text+0xdeca0): undefined reference to `rcar_fcp_put'
drivers/media/built-in.o: In function `vsp1_probe':
:(.text+0xdef44): undefined reference to `rcar_fcp_get'

We already have a conditional dependency on FCP that requires
it for ARM64, so for all others we just have to prevent setting
RENESAS_VSP1=y when RENESAS_FCP=m by extending the FCP dependency.

Fixes: 5d58b3574ebb ("[media] v4l: vsp1: Add FCP support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/Kconfig