]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/rt2860/rt_linux.h
staging: __FUNCTION__ is gcc-specific, use __func__
[linux-2.6-omap-h63xx.git] / drivers / staging / rt2860 / rt_linux.h
index 0cc7cf23d76257601cbd9a8d1a605b458fee508c..0fd58f5109f25b5aec19760b99287e53d4c5599e 100644 (file)
@@ -131,7 +131,7 @@ typedef int (*HARD_START_XMIT_FUNC)(struct sk_buff *skb, struct net_device *net_
 #define RT_MOD_INC_USE_COUNT() \
        if (!try_module_get(THIS_MODULE)) \
        { \
-               DBGPRINT(RT_DEBUG_ERROR, ("%s: cannot reserve module\n", __FUNCTION__)); \
+               DBGPRINT(RT_DEBUG_ERROR, ("%s: cannot reserve module\n", __func__)); \
                return -1; \
        }