diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2018-02-13 19:52:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-14 19:55:33 +0300 |
commit | 89e58148fbf2e4cbd84006e263061c19a2b47adf (patch) | |
tree | c9fc2fee40da060a7a26748c53e95fe8e6e543c2 /include/linux/netdevice.h | |
parent | 19ff13f2a411d99af67d8e51867d54b86e1bf017 (diff) | |
download | linux-89e58148fbf2e4cbd84006e263061c19a2b47adf.tar.xz |
net: Make atalk_ptr depend on ATALK or IRDA
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-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 936dc2c9dca1..dbe6344b727a 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1798,7 +1798,9 @@ struct net_device { #if IS_ENABLED(CONFIG_TIPC) struct tipc_bearer __rcu *tipc_ptr; #endif +#if IS_ENABLED(CONFIG_IRDA) || IS_ENABLED(CONFIG_ATALK) void *atalk_ptr; +#endif struct in_device __rcu *ip_ptr; #if IS_ENABLED(CONFIG_DECNET) struct dn_dev __rcu *dn_ptr; |