summaryrefslogtreecommitdiff
path: root/drivers/base/firmware_loader
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-04-08 21:02:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-17 09:57:44 +0200
commit32ec783ae19d48084b893cc54747fed37b07eb0c (patch)
tree82bf96271ed5e41e8ba55c4cb0721c93475e67f6 /drivers/base/firmware_loader
parent8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff)
firmware: imx: fix compile-testing
It is nice to allow compile-testing the firmware drivers, but this fails when the dependency is a loadable module: aarch64-linux-ld: drivers/firmware/imx/scu-pd.o: in function `imx_sc_pd_power': scu-pd.c:(.text+0xd8): undefined reference to `imx_scu_call_rpc' aarch64-linux-ld: scu-pd.c:(.text+0x108): undefined reference to `imx_scu_call_rpc' aarch64-linux-ld: drivers/firmware/imx/scu-pd.o: in function `imx_sc_pd_probe': Change the dependencies to ensure that any driver we depend on is either reachable or we are compile-testing and it is disabled, effectively reverting most of the previous changes that turned out to be incorrect. Fixes: a9f85f93ed73 ("firmware: imx: add COMPILE_TEST support") Fixes: 5b00b8375416 ("firmware: imx: add COMPILE_TEST for IMX_SCU driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20200408190314.695067-1-arnd@arndb.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/firmware_loader')
0 files changed, 0 insertions, 0 deletions