Found these in a branch from 3-years ago. Still relevant today. Make decnet, ax25, and atalk ptrs in net_device based on their respective CONFIG.
David Ahern (4): net: Make dn_ptr depend on CONFIG_DECNET net: Make ax25_ptr depend on CONFIG_AX25 net: Make atalk_ptr depend on ATALK or IRDA net: Remove atalk header from socket.c include/linux/atalk.h | 2 ++ include/linux/netdevice.h | 6 ++++++ include/net/ax25.h | 2 ++ net/core/dev.c | 3 ++- net/socket.c | 1 - 5 files changed, 12 insertions(+), 2 deletions(-) -- 2.11.0