]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/pci-skeleton.c
drivers/net: replace __FUNCTION__ with __func__
[linux-2.6-omap-h63xx.git] / drivers / net / pci-skeleton.c
index 53451c3b2c0decad78e45fdb604e699d882cd9bf..0a575fef29e64521b727ce231ae0cd7510589795 100644 (file)
@@ -119,7 +119,7 @@ KERN_INFO "  Support available from http://foo.com/bar/baz.html\n";
 
 #ifdef NETDRV_DEBUG
 /* note: prints function name for you */
-#  define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __FUNCTION__ , ## args)
+#  define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __func__ , ## args)
 #else
 #  define DPRINTK(fmt, args...)
 #endif
@@ -130,7 +130,7 @@ KERN_INFO "  Support available from http://foo.com/bar/baz.html\n";
 #  define assert(expr) \
         if(!(expr)) {                                  \
         printk( "Assertion failed! %s,%s,%s,line=%d\n",        \
-        #expr,__FILE__,__FUNCTION__,__LINE__);         \
+        #expr,__FILE__,__func__,__LINE__);             \
         }
 #endif