Skip to content

Commit 26cb1d2

Browse files
committed
memory: omap-gpmc: Fix compile test on SPARC
SPARC comes without CONFIG_OF_ADDRESS thus compile testing fails on linking: /usr/bin/sparc64-linux-gnu-ld: drivers/memory/omap-gpmc.o: in function `gpmc_probe_generic_child': omap-gpmc.c:(.text.unlikely+0x14ec): undefined reference to `of_platform_device_create' Fixes: ea0c0ad ("memory: Enable compile testing for most of the drivers") Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Roger Quadros <rogerq@ti.com> Link: https://lore.kernel.org/r/20200911143251.399-1-krzk@kernel.org
1 parent a8529f3 commit 26cb1d2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/memory/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ config TI_EMIF
104104

105105
config OMAP_GPMC
106106
bool "Texas Instruments OMAP SoC GPMC driver" if COMPILE_TEST
107+
depends on OF_ADDRESS
107108
select GPIOLIB
108109
help
109110
This driver is for the General Purpose Memory Controller (GPMC)

0 commit comments

Comments
 (0)