• Arnd Bergmann's avatar
    [media] vsp1: clarify FCP dependency · 19994673
    Arnd Bergmann authored
    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: 94fcdf82 ("[media] v4l: vsp1: Add FCP support")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
    19994673
Kconfig 10.3 KB