drivers/char: replace remaining __FUNCTION__ occurrences
__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: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
8e24eea728
commit
bf9d892952
@@ -35,7 +35,7 @@
|
||||
|
||||
//#define AGP_DEBUG 1
|
||||
#ifdef AGP_DEBUG
|
||||
#define DBG(x,y...) printk (KERN_DEBUG PFX "%s: " x "\n", __FUNCTION__ , ## y)
|
||||
#define DBG(x,y...) printk (KERN_DEBUG PFX "%s: " x "\n", __func__ , ## y)
|
||||
#else
|
||||
#define DBG(x,y...) do { } while (0)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user