]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vc04_services: clarify firmware dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 16 Nov 2016 15:39:06 +0000 (16:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Nov 2016 17:30:46 +0000 (18:30 +0100)
commitfa860b1adb064d0ef218879d36cf9c243c3165be
tree1baed2b0b0d2d0f5f7955448d26d5e78469007f8
parenta4dd97bb495f562ddd1646df73f64e362072b28f
staging: vc04_services: clarify firmware dependency

The raspberrypi-firmware driver may be built as a loadable module,
which causes a link-time failure if the vc04_services driver is
built-in during compile-testing:

drivers/staging/vc04_services/vchiq.o: In function `vchiq_probe':
vchiq_connected.c:(.text.vchiq_probe+0x2c): undefined reference to `rpi_firmware_get'
drivers/staging/vc04_services/vchiq.o: In function `vchiq_platform_init':
vchiq_connected.c:(.text.vchiq_platform_init+0x1f0): undefined reference to `rpi_firmware_property'

This extends the dependency list to ensure the firmware is either
reachable, or completely disabled in case of compile-testing.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/Kconfig