fsi: master-ast-cf: select GENERIC_ALLOCATOR
authorArnd Bergmann <arnd@arndb.de>
Mon, 13 Aug 2018 22:37:18 +0000 (00:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:24:35 +0000 (09:24 +0100)
commit2aad202fcd4cc9134f1b68b66220f077c7732261
treea7695284b9cb44ec8ba9d775ed50da3b68b76576
parent6bfebedaa8100b20854fd09820143a3dd5d6539c
fsi: master-ast-cf: select GENERIC_ALLOCATOR

[ Upstream commit 64999fa7aa2c076ec6d05aee481f11f5296ceb8c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/fsi/Kconfig