diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-07-29 02:01:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-22 16:29:56 -0400 |
commit | c94c93da90a9e46a73a5733ff8454fb4b14733fb (patch) | |
tree | a2c504b9210cbedb3c0406a2a57f761817513b57 /drivers/net/wireless/ipw2200.h | |
parent | d9c6350431d0c8cac000c6a230d9a20dad52e26d (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/ipw2200.h')
-rw-r--r-- | drivers/net/wireless/ipw2200.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ipw2200.h b/drivers/net/wireless/ipw2200.h index d4ab28b73b32..0bad1ec3e7e0 100644 --- a/drivers/net/wireless/ipw2200.h +++ b/drivers/net/wireless/ipw2200.h | |||
@@ -1394,13 +1394,13 @@ BIT_ARG16(x) | |||
1394 | #define IPW_DEBUG(level, fmt, args...) \ | 1394 | #define IPW_DEBUG(level, fmt, args...) \ |
1395 | do { if (ipw_debug_level & (level)) \ | 1395 | do { if (ipw_debug_level & (level)) \ |
1396 | printk(KERN_DEBUG DRV_NAME": %c %s " fmt, \ | 1396 | printk(KERN_DEBUG DRV_NAME": %c %s " fmt, \ |
1397 | in_interrupt() ? 'I' : 'U', __FUNCTION__ , ## args); } while (0) | 1397 | in_interrupt() ? 'I' : 'U', __func__ , ## args); } while (0) |
1398 | 1398 | ||
1399 | #ifdef CONFIG_IPW2200_DEBUG | 1399 | #ifdef CONFIG_IPW2200_DEBUG |
1400 | #define IPW_LL_DEBUG(level, fmt, args...) \ | 1400 | #define IPW_LL_DEBUG(level, fmt, args...) \ |
1401 | do { if (ipw_debug_level & (level)) \ | 1401 | do { if (ipw_debug_level & (level)) \ |
1402 | printk(KERN_DEBUG DRV_NAME": %c %s " fmt, \ | 1402 | printk(KERN_DEBUG DRV_NAME": %c %s " fmt, \ |
1403 | in_interrupt() ? 'I' : 'U', __FUNCTION__ , ## args); } while (0) | 1403 | in_interrupt() ? 'I' : 'U', __func__ , ## args); } while (0) |
1404 | #else | 1404 | #else |
1405 | #define IPW_LL_DEBUG(level, fmt, args...) do {} while (0) | 1405 | #define IPW_LL_DEBUG(level, fmt, args...) do {} while (0) |
1406 | #endif /* CONFIG_IPW2200_DEBUG */ | 1406 | #endif /* CONFIG_IPW2200_DEBUG */ |