diff options
| author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-10-29 20:33:57 +0100 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-11-14 16:34:17 +0100 |
| commit | 275374b46da2baea437a2e9456e52a04c2049780 (patch) | |
| tree | e8651661de71644bc98d250c719307fdfce3d1ed | |
| parent | 3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff) | |
| download | linux-mem-ctrl-275374b46da2baea437a2e9456e52a04c2049780.tar.gz | |
memory: pl353-smc: fix compile test on !ARM_AMBA
Notice: this object is not reachable from any branch.
The pl353-smc driver uses module_amba_driver so it has a build
dependency on CONFIG_ARM_AMBA:
/usr/bin/arm-linux-gnueabi-ld: drivers/memory/pl353-smc.o: in function `pl353_smc_driver_init':
pl353-smc.c:(.init.text+0x10): undefined reference to `amba_driver_register'
However it still can be compile tested on platforms other than ARM,
which in practice is limited to those selecting ARM_AMBA (so only
ARM64).
Fixes: ea0c0ad6b6eb ("memory: Enable compile testing for most of the drivers")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/20201029193357.389593-1-krzk@kernel.org
Notice: this object is not reachable from any branch.
| -rw-r--r-- | drivers/memory/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index 00e013b14703e..eebd2ddcd8607 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -191,8 +191,8 @@ config DA8XX_DDRCTL config PL353_SMC tristate "ARM PL35X Static Memory Controller(SMC) driver" default y if ARM - depends on ARM - depends on ARM_AMBA || COMPILE_TEST + depends on ARM || COMPILE_TEST + depends on ARM_AMBA help This driver is for the ARM PL351/PL353 Static Memory Controller(SMC) module. |
