net: Make dn_ptr depend on CONFIG_DECNET

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David Ahern
2018-02-13 08:52:00 -08:00
committed by David S. Miller
parent 7707968361
commit 330c7272c4
2 changed files with 4 additions and 1 deletions

View File

@@ -1800,7 +1800,9 @@ struct net_device {
#endif
void *atalk_ptr;
struct in_device __rcu *ip_ptr;
#if IS_ENABLED(CONFIG_DECNET)
struct dn_dev __rcu *dn_ptr;
#endif
struct inet6_dev __rcu *ip6_ptr;
void *ax25_ptr;
struct wireless_dev *ieee80211_ptr;