ARM: bcm2835: clarify RASPBERRYPI_FIRMWARE dependency
authorArnd Bergmann <arnd@arndb.de>
Thu, 31 Dec 2015 22:39:14 +0000 (23:39 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 31 Dec 2015 22:44:17 +0000 (23:44 +0100)
commit22a5b1ddd83b991b96cb635898e011cce48bf6f8
tree62169bc5a984fb09b65055003c02d1c5cb2f6aec
parent5d2c585c7ddda2d5520e585768d0b3f66d04b59f
ARM: bcm2835: clarify RASPBERRYPI_FIRMWARE dependency

The firmware driver can be a loadable module, but the power domain
can only be built-in, so we get a build error in an allmodconfig
kernel:

:(.text+0x17e59c): undefined reference to `rpi_firmware_property'
:(.text+0x17e51c): undefined reference to `rpi_firmware_get'
:(.text+0x17e244): undefined reference to `rpi_firmware_property'

This changes the dependency to only allow the power domain code
to be enabled when the firmware driver is built-in. Other users
of the firmware driver may still be loadable modules and not
everyone needs the power domains, so we don't change the firmware
code.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/bcm/Kconfig
This page took 0.026438 seconds and 5 git commands to generate.