diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-08-20 19:52:04 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-24 18:59:00 -0400 |
commit | b39d66a81fb4f5ab555f86a2e49f3714f8369a3d (patch) | |
tree | 20ffb096fe2781545ac3f77f07ebbb347234e111 /drivers/net/3c505.c | |
parent | b514f6b6da3aedcf4eb6f0c69e910ae89ef4632f (diff) |
drivers/net: replace __FUNCTION__ with __func__
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/3c505.c')
-rw-r--r-- | drivers/net/3c505.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/3c505.c b/drivers/net/3c505.c index fdfb2b2cb734..a424869707a5 100644 --- a/drivers/net/3c505.c +++ b/drivers/net/3c505.c | |||
@@ -130,12 +130,12 @@ static const char filename[] = __FILE__; | |||
130 | 130 | ||
131 | static const char timeout_msg[] = "*** timeout at %s:%s (line %d) ***\n"; | 131 | static const char timeout_msg[] = "*** timeout at %s:%s (line %d) ***\n"; |
132 | #define TIMEOUT_MSG(lineno) \ | 132 | #define TIMEOUT_MSG(lineno) \ |
133 | printk(timeout_msg, filename,__FUNCTION__,(lineno)) | 133 | printk(timeout_msg, filename,__func__,(lineno)) |
134 | 134 | ||
135 | static const char invalid_pcb_msg[] = | 135 | static const char invalid_pcb_msg[] = |
136 | "*** invalid pcb length %d at %s:%s (line %d) ***\n"; | 136 | "*** invalid pcb length %d at %s:%s (line %d) ***\n"; |
137 | #define INVALID_PCB_MSG(len) \ | 137 | #define INVALID_PCB_MSG(len) \ |
138 | printk(invalid_pcb_msg, (len),filename,__FUNCTION__,__LINE__) | 138 | printk(invalid_pcb_msg, (len),filename,__func__,__LINE__) |
139 | 139 | ||
140 | static char search_msg[] __initdata = KERN_INFO "%s: Looking for 3c505 adapter at address %#x..."; | 140 | static char search_msg[] __initdata = KERN_INFO "%s: Looking for 3c505 adapter at address %#x..."; |
141 | 141 | ||