diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-12-10 11:38:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-10 23:27:53 +0100 |
commit | 0e85663b887aa7c87d64965952fbf436c209fbe4 (patch) | |
tree | 913db5ad1533f52326aee828cd521d008a5c90c4 /drivers/net/ethernet/marvell | |
parent | net: socket: removed an unnecessary newline (diff) | |
download | linux-0e85663b887aa7c87d64965952fbf436c209fbe4.tar.xz linux-0e85663b887aa7c87d64965952fbf436c209fbe4.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/marvell')
-rw-r--r-- | drivers/net/ethernet/marvell/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/Kconfig b/drivers/net/ethernet/marvell/Kconfig index 3b8f11fe5e13..f4b7cf18fb0f 100644 --- a/drivers/net/ethernet/marvell/Kconfig +++ b/drivers/net/ethernet/marvell/Kconfig @@ -76,6 +76,7 @@ config MVNETA_BM default y if MVNETA=y && MVNETA_BM_ENABLE!=n default MVNETA_BM_ENABLE select HWBM + select GENERIC_ALLOCATOR help MVNETA_BM must not be 'm' if MVNETA=y, so this symbol ensures that all dependencies are met. |