net: mvneta: select GENERIC_ALLOCATOR
authorArnd Bergmann <arnd@arndb.de>
Sat, 10 Dec 2016 10:38:32 +0000 (11:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Dec 2016 22:27:53 +0000 (17:27 -0500)
commit0e85663b887aa7c87d64965952fbf436c209fbe4
tree913db5ad1533f52326aee828cd521d008a5c90c4
parentfa1bd57a63773f56877c7629a7ff69081ce3ca01
net: mvneta: select GENERIC_ALLOCATOR

We previously relied on GENERIC_ALLOCATOR to be selected by CONFIG_ARM,
but now we can compile-test the driver on other architectures that
don't select it:

drivers/net/built-in.o: In function `mvneta_bm_remove':
mvneta_bm.c:(.text+0x4ee35): undefined reference to `gen_pool_free'

This adds an explicit select for the part of the driver that has
the dependency.

Fixes: a0627f776a45 ("net: marvell: Allow drivers to be built with COMPILE_TEST")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/Kconfig