]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/net/cfg80211.h
wireless: Convert wiphy_debug macro to function
[net-next-2.6.git] / include / net / cfg80211.h
index 7fe774c2d43dc48a42fc9d566d7a5159759bceaf..ae80f8fb17fe064d277873f87fb204822ebf9255 100644 (file)
@@ -2442,8 +2442,9 @@ void cfg80211_cqm_rssi_notify(struct net_device *dev,
        wiphy_printk(KERN_NOTICE, wiphy, format, ##args)
 #define wiphy_info(wiphy, format, args...)                     \
        wiphy_printk(KERN_INFO, wiphy, format, ##args)
-#define wiphy_debug(wiphy, format, args...)                    \
-       wiphy_printk(KERN_DEBUG, wiphy, format, ##args)
+
+int wiphy_debug(const struct wiphy *wiphy, const char *format, ...)
+       __attribute__ ((format (printf, 2, 3)));
 
 #if defined(DEBUG)
 #define wiphy_dbg(wiphy, format, args...)                      \