1 2 3 4 5 6 7
#ifdef CONFIG_SYSFS extern void register_wlags_sysfs(struct net_device *); extern void unregister_wlags_sysfs(struct net_device *); #else static inline void register_wlags_sysfs(struct net_device *net) { } static inline void unregister_wlags_sysfs(struct net_device *net) { } #endif