diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-26 16:25:20 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 16:25:20 -0400 |
commit | eb63963a55f039f049d0dd1121f91f332af6ecc9 (patch) | |
tree | 42de9fdf101a1e45a60d43253057bc7435aef60d /drivers/ide/mips/au1xxx-ide.c | |
parent | c4b22f816b8ee316cff06df3880f8341e1251211 (diff) |
ide: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
[bart: fix checkpatch.pl errors in ide-lib.c and ppc/mpc8xx.c while at it]
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/mips/au1xxx-ide.c')
-rw-r--r-- | drivers/ide/mips/au1xxx-ide.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index e539977b3348..7179d4953211 100644 --- a/drivers/ide/mips/au1xxx-ide.c +++ b/drivers/ide/mips/au1xxx-ide.c | |||
@@ -61,7 +61,7 @@ void auide_insw(unsigned long port, void *addr, u32 count) | |||
61 | 61 | ||
62 | if(!put_dest_flags(ahwif->rx_chan, (void*)addr, count << 1, | 62 | if(!put_dest_flags(ahwif->rx_chan, (void*)addr, count << 1, |
63 | DDMA_FLAGS_NOIE)) { | 63 | DDMA_FLAGS_NOIE)) { |
64 | printk(KERN_ERR "%s failed %d\n", __FUNCTION__, __LINE__); | 64 | printk(KERN_ERR "%s failed %d\n", __func__, __LINE__); |
65 | return; | 65 | return; |
66 | } | 66 | } |
67 | ctp = *((chan_tab_t **)ahwif->rx_chan); | 67 | ctp = *((chan_tab_t **)ahwif->rx_chan); |
@@ -79,7 +79,7 @@ void auide_outsw(unsigned long port, void *addr, u32 count) | |||
79 | 79 | ||
80 | if(!put_source_flags(ahwif->tx_chan, (void*)addr, | 80 | if(!put_source_flags(ahwif->tx_chan, (void*)addr, |
81 | count << 1, DDMA_FLAGS_NOIE)) { | 81 | count << 1, DDMA_FLAGS_NOIE)) { |
82 | printk(KERN_ERR "%s failed %d\n", __FUNCTION__, __LINE__); | 82 | printk(KERN_ERR "%s failed %d\n", __func__, __LINE__); |
83 | return; | 83 | return; |
84 | } | 84 | } |
85 | ctp = *((chan_tab_t **)ahwif->tx_chan); | 85 | ctp = *((chan_tab_t **)ahwif->tx_chan); |
@@ -250,7 +250,7 @@ static int auide_build_dmatable(ide_drive_t *drive) | |||
250 | (void*) sg_virt(sg), | 250 | (void*) sg_virt(sg), |
251 | tc, flags)) { | 251 | tc, flags)) { |
252 | printk(KERN_ERR "%s failed %d\n", | 252 | printk(KERN_ERR "%s failed %d\n", |
253 | __FUNCTION__, __LINE__); | 253 | __func__, __LINE__); |
254 | } | 254 | } |
255 | } else | 255 | } else |
256 | { | 256 | { |
@@ -258,7 +258,7 @@ static int auide_build_dmatable(ide_drive_t *drive) | |||
258 | (void*) sg_virt(sg), | 258 | (void*) sg_virt(sg), |
259 | tc, flags)) { | 259 | tc, flags)) { |
260 | printk(KERN_ERR "%s failed %d\n", | 260 | printk(KERN_ERR "%s failed %d\n", |
261 | __FUNCTION__, __LINE__); | 261 | __func__, __LINE__); |
262 | } | 262 | } |
263 | } | 263 | } |
264 | 264 | ||