diff options
| author | David Ahern <dsahern@gmail.com> | 2018-02-13 08:52:01 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-02-14 11:55:33 -0500 |
| commit | 19ff13f2a411d99af67d8e51867d54b86e1bf017 (patch) | |
| tree | ed927a216d9bc02fea84de07153e843cc67391b3 /include/linux | |
| parent | 330c7272c40e965b8ab510d1022acd6e6a32e9c8 (diff) | |
| download | cachepc-linux-19ff13f2a411d99af67d8e51867d54b86e1bf017.tar.gz cachepc-linux-19ff13f2a411d99af67d8e51867d54b86e1bf017.zip | |
net: Make ax25_ptr depend on CONFIG_AX25
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index d2ef35e00626..936dc2c9dca1 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1804,7 +1804,9 @@ struct net_device { struct dn_dev __rcu *dn_ptr; #endif struct inet6_dev __rcu *ip6_ptr; +#if IS_ENABLED(CONFIG_AX25) void *ax25_ptr; +#endif struct wireless_dev *ieee80211_ptr; struct wpan_dev *ieee802154_ptr; #if IS_ENABLED(CONFIG_MPLS_ROUTING) |
