summaryrefslogtreecommitdiffstats
path: root/drivers/atm/fore200e.c
diff options
context:
space:
mode:
authorHarvey Harrison2008-03-06 03:38:07 +0100
committerDavid S. Miller2008-03-06 03:38:07 +0100
commit5a346a10c0b1192e7eae52f0f3a332f1d3f11226 (patch)
tree3207ad3ba40408890d69fb17c238405004447d69 /drivers/atm/fore200e.c
parentisdn: replace __inline with inline (diff)
downloadkernel-qcow2-linux-5a346a10c0b1192e7eae52f0f3a332f1d3f11226.tar.gz
kernel-qcow2-linux-5a346a10c0b1192e7eae52f0f3a332f1d3f11226.tar.xz
kernel-qcow2-linux-5a346a10c0b1192e7eae52f0f3a332f1d3f11226.zip
atm: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/fore200e.c')
-rw-r--r--drivers/atm/fore200e.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c
index f97e050338f0..9427a61f62b0 100644
--- a/drivers/atm/fore200e.c
+++ b/drivers/atm/fore200e.c
@@ -95,8 +95,8 @@
#if 1
#define ASSERT(expr) if (!(expr)) { \
printk(FORE200E "assertion failed! %s[%d]: %s\n", \
- __FUNCTION__, __LINE__, #expr); \
- panic(FORE200E "%s", __FUNCTION__); \
+ __func__, __LINE__, #expr); \
+ panic(FORE200E "%s", __func__); \
}
#else
#define ASSERT(expr) do {} while (0)