]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/staging/wlags49_h2/wl_sysfs.h
Staging: wlags49_h2: Fix build error when CONFIG_SYSFS is not set
[net-next-2.6.git] / drivers / staging / wlags49_h2 / wl_sysfs.h
index 6d96d03cf4909877f89936f1571b6efadfad3665..fa658c38001e6e7e6bce3cfd68dfa5c54f3996d7 100644 (file)
@@ -2,6 +2,6 @@
 extern void register_wlags_sysfs(struct net_device *);
 extern void unregister_wlags_sysfs(struct net_device *);
 #else
-static void register_wlags_sysfs(struct net_device *) { return; };
-static void unregister_wlags_sysfs(struct net_device *) { return; };
+static inline void register_wlags_sysfs(struct net_device *net) { }
+static inline void unregister_wlags_sysfs(struct net_device *net) { }
 #endif