wireless: replace __FUNCTION__ with __func__
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
d9c6350431
commit
c94c93da90
@@ -53,11 +53,11 @@
|
||||
*/
|
||||
#define DEBUG_PRINTK_MSG(__dev, __kernlvl, __lvl, __msg, __args...) \
|
||||
printk(__kernlvl "%s -> %s: %s - " __msg, \
|
||||
wiphy_name((__dev)->hw->wiphy), __FUNCTION__, __lvl, ##__args)
|
||||
wiphy_name((__dev)->hw->wiphy), __func__, __lvl, ##__args)
|
||||
|
||||
#define DEBUG_PRINTK_PROBE(__kernlvl, __lvl, __msg, __args...) \
|
||||
printk(__kernlvl "%s -> %s: %s - " __msg, \
|
||||
KBUILD_MODNAME, __FUNCTION__, __lvl, ##__args)
|
||||
KBUILD_MODNAME, __func__, __lvl, ##__args)
|
||||
|
||||
#ifdef CONFIG_RT2X00_DEBUG
|
||||
#define DEBUG_PRINTK(__dev, __kernlvl, __lvl, __msg, __args...) \
|
||||
|
Reference in New Issue
Block a user