diff options
author | Roger Quadros <rogerq@kernel.org> | 2022-04-26 11:26:11 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-04-29 09:57:36 +0300 |
commit | 854fd9209b20837ab48c2e6714e5e44dd8ea33a2 (patch) | |
tree | 012b1b2281c2c9fb0c94d658d01451505a755290 /drivers/memory/Kconfig | |
parent | be34f45f0d4aa91c6b83d140f9ace1ca40a5f9dc (diff) | |
download | linux-854fd9209b20837ab48c2e6714e5e44dd8ea33a2.tar.xz |
memory: omap-gpmc: Allow building as a module
Allow OMAP_GPMC to be built as a module.
When building this driver as a module, the symbol
'of_default_bus_match_table' will not be found as it is not being
exported.
The of_match_node() call is redundant anyways as
of_platform_default_populate() already takes care of matching with
'of_default_bus_match_table'. So get rid of that call. This will also
resolve the module build failure.
Move compatible match table to the end where it is usually expected.
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20220426082611.24427-3-rogerq@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/memory/Kconfig')
-rw-r--r-- | drivers/memory/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig index da9634daad04..b7800b37af78 100644 --- a/drivers/memory/Kconfig +++ b/drivers/memory/Kconfig @@ -103,7 +103,7 @@ config TI_EMIF temperature changes config OMAP_GPMC - bool "Texas Instruments OMAP SoC GPMC driver" + tristate "Texas Instruments OMAP SoC GPMC driver" depends on OF_ADDRESS select GPIOLIB help |