diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-10-16 13:32:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-16 21:21:05 +0100 |
commit | 00fb3a7c7c14dd28feb0372a8458267e058add66 (patch) | |
tree | fb3748c8e64ae1911a8e0226428a0e7823c2b9b8 /net/ipv4/tcp_cdg.c | |
parent | 92c43fcafe9db18dc51cd2a44cdafd80a4bcb2b5 (diff) |
net: systemport: add NET_DSA dependency
The notifier cause a link error when NET_DSA is a loadable
module:
drivers/net/ethernet/broadcom/bcmsysport.o: In function `bcm_sysport_remove':
bcmsysport.c:(.text+0x1582): undefined reference to `unregister_dsa_notifier'
drivers/net/ethernet/broadcom/bcmsysport.o: In function `bcm_sysport_probe':
bcmsysport.c:(.text+0x278d): undefined reference to `register_dsa_notifier'
This adds a dependency that forces the systemport driver to be
a loadable module as well when that happens, but otherwise
allows it to be built normally when DSA is either built-in or
completely disabled.
Fixes: d156576362c0 ("net: systemport: Establish lower/upper queue mapping")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_cdg.c')
0 files changed, 0 insertions, 0 deletions