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/wl3501_cs.c | |
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/wl3501_cs.c')
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index 377141995e36..b6d4e04b8ab4 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -79,7 +79,7 @@ static int pc_debug = PCMCIA_DEBUG; | |||
79 | module_param(pc_debug, int, 0); | 79 | module_param(pc_debug, int, 0); |
80 | #define dprintk(n, format, args...) \ | 80 | #define dprintk(n, format, args...) \ |
81 | { if (pc_debug > (n)) \ | 81 | { if (pc_debug > (n)) \ |
82 | printk(KERN_INFO "%s: " format "\n", __FUNCTION__ , ##args); } | 82 | printk(KERN_INFO "%s: " format "\n", __func__ , ##args); } |
83 | #else | 83 | #else |
84 | #define dprintk(n, format, args...) | 84 | #define dprintk(n, format, args...) |
85 | #endif | 85 | #endif |
@@ -470,7 +470,7 @@ static int wl3501_pwr_mgmt(struct wl3501_card *this, int suspend) | |||
470 | spin_unlock_irqrestore(&this->lock, flags); | 470 | spin_unlock_irqrestore(&this->lock, flags); |
471 | rc = wait_event_interruptible(this->wait, | 471 | rc = wait_event_interruptible(this->wait, |
472 | this->sig_pwr_mgmt_confirm.status != 255); | 472 | this->sig_pwr_mgmt_confirm.status != 255); |
473 | printk(KERN_INFO "%s: %s status=%d\n", __FUNCTION__, | 473 | printk(KERN_INFO "%s: %s status=%d\n", __func__, |
474 | suspend ? "suspend" : "resume", | 474 | suspend ? "suspend" : "resume", |
475 | this->sig_pwr_mgmt_confirm.status); | 475 | this->sig_pwr_mgmt_confirm.status); |
476 | goto out; | 476 | goto out; |
@@ -1199,7 +1199,7 @@ static int wl3501_reset_board(struct wl3501_card *this) | |||
1199 | } | 1199 | } |
1200 | WL3501_NOPLOOP(10); | 1200 | WL3501_NOPLOOP(10); |
1201 | } | 1201 | } |
1202 | printk(KERN_WARNING "%s: failed to reset the board!\n", __FUNCTION__); | 1202 | printk(KERN_WARNING "%s: failed to reset the board!\n", __func__); |
1203 | rc = -ENODEV; | 1203 | rc = -ENODEV; |
1204 | out: | 1204 | out: |
1205 | return rc; | 1205 | return rc; |
@@ -1250,7 +1250,7 @@ static int wl3501_init_firmware(struct wl3501_card *this) | |||
1250 | out: | 1250 | out: |
1251 | return rc; | 1251 | return rc; |
1252 | fail: | 1252 | fail: |
1253 | printk(KERN_WARNING "%s: failed!\n", __FUNCTION__); | 1253 | printk(KERN_WARNING "%s: failed!\n", __func__); |
1254 | goto out; | 1254 | goto out; |
1255 | } | 1255 | } |
1256 | 1256 | ||