diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-04 18:08:02 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-03-06 07:18:18 -0500 |
commit | 8e86f4271aaac7685923b80cf57972be41afbc1d (patch) | |
tree | 4817fbfdd60d4cccf6b87876765ce64f044d624a /arch/arm/mach-iop13xx | |
parent | 92df78519d0a6a8677cb827b5a1b7d2520d7e202 (diff) |
[ARM] 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: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-iop13xx')
-rw-r--r-- | arch/arm/mach-iop13xx/iq81340mc.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-iop13xx/iq81340sc.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-iop13xx/pci.c | 8 | ||||
-rw-r--r-- | arch/arm/mach-iop13xx/setup.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-iop13xx/iq81340mc.c b/arch/arm/mach-iop13xx/iq81340mc.c index 268a8d84999c..77b24cd1d88d 100644 --- a/arch/arm/mach-iop13xx/iq81340mc.c +++ b/arch/arm/mach-iop13xx/iq81340mc.c | |||
@@ -81,7 +81,7 @@ static void __init iq81340mc_init(void) | |||
81 | static void __init iq81340mc_timer_init(void) | 81 | static void __init iq81340mc_timer_init(void) |
82 | { | 82 | { |
83 | unsigned long bus_freq = iop13xx_core_freq() / iop13xx_xsi_bus_ratio(); | 83 | unsigned long bus_freq = iop13xx_core_freq() / iop13xx_xsi_bus_ratio(); |
84 | printk(KERN_DEBUG "%s: bus frequency: %lu\n", __FUNCTION__, bus_freq); | 84 | printk(KERN_DEBUG "%s: bus frequency: %lu\n", __func__, bus_freq); |
85 | iop_init_time(bus_freq); | 85 | iop_init_time(bus_freq); |
86 | } | 86 | } |
87 | 87 | ||
diff --git a/arch/arm/mach-iop13xx/iq81340sc.c b/arch/arm/mach-iop13xx/iq81340sc.c index a51ffd2683e5..e8522b3b8163 100644 --- a/arch/arm/mach-iop13xx/iq81340sc.c +++ b/arch/arm/mach-iop13xx/iq81340sc.c | |||
@@ -83,7 +83,7 @@ static void __init iq81340sc_init(void) | |||
83 | static void __init iq81340sc_timer_init(void) | 83 | static void __init iq81340sc_timer_init(void) |
84 | { | 84 | { |
85 | unsigned long bus_freq = iop13xx_core_freq() / iop13xx_xsi_bus_ratio(); | 85 | unsigned long bus_freq = iop13xx_core_freq() / iop13xx_xsi_bus_ratio(); |
86 | printk(KERN_DEBUG "%s: bus frequency: %lu\n", __FUNCTION__, bus_freq); | 86 | printk(KERN_DEBUG "%s: bus frequency: %lu\n", __func__, bus_freq); |
87 | iop_init_time(bus_freq); | 87 | iop_init_time(bus_freq); |
88 | } | 88 | } |
89 | 89 | ||
diff --git a/arch/arm/mach-iop13xx/pci.c b/arch/arm/mach-iop13xx/pci.c index 99d94cb1bafd..7825c1aaa27b 100644 --- a/arch/arm/mach-iop13xx/pci.c +++ b/arch/arm/mach-iop13xx/pci.c | |||
@@ -94,13 +94,13 @@ void iop13xx_map_pci_memory(void) | |||
94 | , 0, iop13xx_atux_mem_size, MT_DEVICE); | 94 | , 0, iop13xx_atux_mem_size, MT_DEVICE); |
95 | if (!iop13xx_atux_mem_base) { | 95 | if (!iop13xx_atux_mem_base) { |
96 | printk("%s: atux allocation " | 96 | printk("%s: atux allocation " |
97 | "failed\n", __FUNCTION__); | 97 | "failed\n", __func__); |
98 | BUG(); | 98 | BUG(); |
99 | } | 99 | } |
100 | } else | 100 | } else |
101 | iop13xx_atux_mem_size = 0; | 101 | iop13xx_atux_mem_size = 0; |
102 | PRINTK("%s: atu: %d bus_size: %d mem_base: %x\n", | 102 | PRINTK("%s: atu: %d bus_size: %d mem_base: %x\n", |
103 | __FUNCTION__, atu, iop13xx_atux_mem_size, | 103 | __func__, atu, iop13xx_atux_mem_size, |
104 | iop13xx_atux_mem_base); | 104 | iop13xx_atux_mem_base); |
105 | break; | 105 | break; |
106 | case 1: | 106 | case 1: |
@@ -120,13 +120,13 @@ void iop13xx_map_pci_memory(void) | |||
120 | , 0, iop13xx_atue_mem_size, MT_DEVICE); | 120 | , 0, iop13xx_atue_mem_size, MT_DEVICE); |
121 | if (!iop13xx_atue_mem_base) { | 121 | if (!iop13xx_atue_mem_base) { |
122 | printk("%s: atue allocation " | 122 | printk("%s: atue allocation " |
123 | "failed\n", __FUNCTION__); | 123 | "failed\n", __func__); |
124 | BUG(); | 124 | BUG(); |
125 | } | 125 | } |
126 | } else | 126 | } else |
127 | iop13xx_atue_mem_size = 0; | 127 | iop13xx_atue_mem_size = 0; |
128 | PRINTK("%s: atu: %d bus_size: %d mem_base: %x\n", | 128 | PRINTK("%s: atu: %d bus_size: %d mem_base: %x\n", |
129 | __FUNCTION__, atu, iop13xx_atue_mem_size, | 129 | __func__, atu, iop13xx_atue_mem_size, |
130 | iop13xx_atue_mem_base); | 130 | iop13xx_atue_mem_base); |
131 | break; | 131 | break; |
132 | } | 132 | } |
diff --git a/arch/arm/mach-iop13xx/setup.c b/arch/arm/mach-iop13xx/setup.c index bfe0c87e3397..246f6d478720 100644 --- a/arch/arm/mach-iop13xx/setup.c +++ b/arch/arm/mach-iop13xx/setup.c | |||
@@ -519,7 +519,7 @@ void __init iop13xx_platform_init(void) | |||
519 | if (iq8134x_flash_resource.end > iq8134x_flash_resource.start) | 519 | if (iq8134x_flash_resource.end > iq8134x_flash_resource.start) |
520 | iop13xx_devices[plat_idx++] = &iq8134x_flash; | 520 | iop13xx_devices[plat_idx++] = &iq8134x_flash; |
521 | else | 521 | else |
522 | printk(KERN_ERR "%s: Failed to probe flash size\n", __FUNCTION__); | 522 | printk(KERN_ERR "%s: Failed to probe flash size\n", __func__); |
523 | #endif | 523 | #endif |
524 | 524 | ||
525 | platform_add_devices(iop13xx_devices, plat_idx); | 525 | platform_add_devices(iop13xx_devices, plat_idx); |