diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-30 03:54:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:53 -0400 |
commit | 145980a0b07520f0f82cc40999acc92b349ea40c (patch) | |
tree | 48bc21442adcda4561b8f5356380cc168d059619 /drivers/w1 | |
parent | bdf4bbaaee3d4b8f555658333cbce1affe9070fb (diff) |
drivers: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/w1')
-rw-r--r-- | drivers/w1/w1_log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1_log.h b/drivers/w1/w1_log.h index fe6bdf43380f..e6ab7cf08f88 100644 --- a/drivers/w1/w1_log.h +++ b/drivers/w1/w1_log.h | |||
@@ -30,7 +30,7 @@ | |||
30 | # define assert(expr) \ | 30 | # define assert(expr) \ |
31 | if(unlikely(!(expr))) { \ | 31 | if(unlikely(!(expr))) { \ |
32 | printk(KERN_ERR "Assertion failed! %s,%s,%s,line=%d\n", \ | 32 | printk(KERN_ERR "Assertion failed! %s,%s,%s,line=%d\n", \ |
33 | #expr,__FILE__,__FUNCTION__,__LINE__); \ | 33 | #expr, __FILE__, __func__, __LINE__); \ |
34 | } | 34 | } |
35 | #endif | 35 | #endif |
36 | 36 | ||