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-pxa/trizeps4.c | |
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-pxa/trizeps4.c')
-rw-r--r-- | arch/arm/mach-pxa/trizeps4.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/trizeps4.c b/arch/arm/mach-pxa/trizeps4.c index 853fc9433750..f207fcd30cd7 100644 --- a/arch/arm/mach-pxa/trizeps4.c +++ b/arch/arm/mach-pxa/trizeps4.c | |||
@@ -217,7 +217,7 @@ void board_pcmcia_power(int power) | |||
217 | ConXS_BCR = trizeps_conxs_bcr; | 217 | ConXS_BCR = trizeps_conxs_bcr; |
218 | 218 | ||
219 | } | 219 | } |
220 | pr_debug("%s: o%s 0x%x\n", __FUNCTION__, power ? "n": "ff", trizeps_conxs_bcr); | 220 | pr_debug("%s: o%s 0x%x\n", __func__, power ? "n": "ff", trizeps_conxs_bcr); |
221 | } | 221 | } |
222 | 222 | ||
223 | /* backlight power switching for LCD panel */ | 223 | /* backlight power switching for LCD panel */ |
@@ -228,7 +228,7 @@ static void board_backlight_power(int on) | |||
228 | } else { | 228 | } else { |
229 | trizeps_conxs_bcr &= ~ConXS_BCR_L_DISP; | 229 | trizeps_conxs_bcr &= ~ConXS_BCR_L_DISP; |
230 | } | 230 | } |
231 | pr_debug("%s: o%s 0x%x\n", __FUNCTION__, on ? "n" : "ff", trizeps_conxs_bcr); | 231 | pr_debug("%s: o%s 0x%x\n", __func__, on ? "n" : "ff", trizeps_conxs_bcr); |
232 | ConXS_BCR = trizeps_conxs_bcr; | 232 | ConXS_BCR = trizeps_conxs_bcr; |
233 | } | 233 | } |
234 | 234 | ||
@@ -238,10 +238,10 @@ static void board_mci_power(struct device *dev, unsigned int vdd) | |||
238 | struct pxamci_platform_data* p_d = dev->platform_data; | 238 | struct pxamci_platform_data* p_d = dev->platform_data; |
239 | 239 | ||
240 | if (( 1 << vdd) & p_d->ocr_mask) { | 240 | if (( 1 << vdd) & p_d->ocr_mask) { |
241 | pr_debug("%s: on\n", __FUNCTION__); | 241 | pr_debug("%s: on\n", __func__); |
242 | /* FIXME fill in values here */ | 242 | /* FIXME fill in values here */ |
243 | } else { | 243 | } else { |
244 | pr_debug("%s: off\n", __FUNCTION__); | 244 | pr_debug("%s: off\n", __func__); |
245 | /* FIXME fill in values here */ | 245 | /* FIXME fill in values here */ |
246 | } | 246 | } |
247 | } | 247 | } |