]> git.baikalelectronics.ru Git - kernel.git/commit
amt: add IPV6 Kconfig dependency
authorArnd Bergmann <arnd@arndb.de>
Mon, 8 Nov 2021 11:12:24 +0000 (12:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Nov 2021 14:00:13 +0000 (14:00 +0000)
commitd1fdf89de43a9f1db8dde6ad2ea336ee7054881a
tree26734f401be943b635cf249043f3cadffc4cb74e
parentea92c8989a0a9453b3aefb756784450b1b4ee247
amt: add IPV6 Kconfig dependency

This driver cannot be built-in if IPV6 is a loadable module:

x86_64-linux-ld: drivers/net/amt.o: in function `amt_build_mld_gq':
amt.c:(.text+0x2e7d): undefined reference to `ipv6_dev_get_saddr'

Add the idiomatic Kconfig dependency that all such modules
have.

Fixes: c33242ef4b12 ("amt: add control plane of amt interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig