aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-08-13 18:37:18 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-11-25 18:11:43 -0500
commit64999fa7aa2c076ec6d05aee481f11f5296ceb8c (patch)
treeb0e1bd8c512c6a5b4f950aba78b3d74d2ef4d2e9
parent2e6e902d185027f8e3cb8b7305238f7e35d6a436 (diff)
fsi: master-ast-cf: select GENERIC_ALLOCATOR
In randconfig builds without CONFIG_GENERIC_ALLOCATOR, this driver fails to link: ERROR: "gen_pool_alloc_algo" [drivers/fsi/fsi-master-ast-cf.ko] undefined! ERROR: "gen_pool_fixed_alloc" [drivers/fsi/fsi-master-ast-cf.ko] undefined! ERROR: "of_gen_pool_get" [drivers/fsi/fsi-master-ast-cf.ko] undefined! ERROR: "gen_pool_free" [drivers/fsi/fsi-master-ast-cf.ko] undefined! Select the dependency as all other users do. Fixes: 6a794a27daca ("fsi: master-ast-cf: Add new FSI master using Aspeed ColdFire") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r--drivers/fsi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fsi/Kconfig b/drivers/fsi/Kconfig
index af3a20dd5aa4..99c99a5d57fe 100644
--- a/drivers/fsi/Kconfig
+++ b/drivers/fsi/Kconfig
@@ -46,6 +46,7 @@ config FSI_MASTER_AST_CF
46 tristate "FSI master based on Aspeed ColdFire coprocessor" 46 tristate "FSI master based on Aspeed ColdFire coprocessor"
47 depends on GPIOLIB 47 depends on GPIOLIB
48 depends on GPIO_ASPEED 48 depends on GPIO_ASPEED
49 select GENERIC_ALLOCATOR
49 ---help--- 50 ---help---
50 This option enables a FSI master using the AST2400 and AST2500 GPIO 51 This option enables a FSI master using the AST2400 and AST2500 GPIO
51 lines driven by the internal ColdFire coprocessor. This requires 52 lines driven by the internal ColdFire coprocessor. This requires