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/via-velocity.h | |
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/via-velocity.h')
-rw-r--r-- | drivers/net/via-velocity.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/via-velocity.h b/drivers/net/via-velocity.h index 1b95b04c9257..29a33090d3d4 100644 --- a/drivers/net/via-velocity.h +++ b/drivers/net/via-velocity.h | |||
@@ -1381,7 +1381,7 @@ enum velocity_msg_level { | |||
1381 | #define ASSERT(x) { \ | 1381 | #define ASSERT(x) { \ |
1382 | if (!(x)) { \ | 1382 | if (!(x)) { \ |
1383 | printk(KERN_ERR "assertion %s failed: file %s line %d\n", #x,\ | 1383 | printk(KERN_ERR "assertion %s failed: file %s line %d\n", #x,\ |
1384 | __FUNCTION__, __LINE__);\ | 1384 | __func__, __LINE__);\ |
1385 | BUG(); \ | 1385 | BUG(); \ |
1386 | }\ | 1386 | }\ |
1387 | } | 1387 | } |