diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-22 21:39:01 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-04-22 21:39:01 -0400 |
commit | b85d858b40a28107ee50ca9e89f57c0e35c251c6 (patch) | |
tree | 96f1a2a344529e820fb0f256331070be3d83e600 /arch/blackfin/mach-bf561/boards | |
parent | 6b13483ba2c9c90fc34c79b44be418b56b6a756c (diff) |
[Blackfin] arch: __FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf561/boards')
-rw-r--r-- | arch/blackfin/mach-bf561/boards/cm_bf561.c | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/boards/ezkit.c | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/boards/generic_board.c | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf561/boards/tepla.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/mach-bf561/boards/cm_bf561.c b/arch/blackfin/mach-bf561/boards/cm_bf561.c index bf9e738a7c64..4a3e0853f2a4 100644 --- a/arch/blackfin/mach-bf561/boards/cm_bf561.c +++ b/arch/blackfin/mach-bf561/boards/cm_bf561.c | |||
@@ -349,7 +349,7 @@ static struct platform_device *cm_bf561_devices[] __initdata = { | |||
349 | 349 | ||
350 | static int __init cm_bf561_init(void) | 350 | static int __init cm_bf561_init(void) |
351 | { | 351 | { |
352 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); | 352 | printk(KERN_INFO "%s(): registering device resources\n", __func__); |
353 | platform_add_devices(cm_bf561_devices, ARRAY_SIZE(cm_bf561_devices)); | 353 | platform_add_devices(cm_bf561_devices, ARRAY_SIZE(cm_bf561_devices)); |
354 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 354 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
355 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 355 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); |
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c index 79a55b42e964..984d654cc8d7 100644 --- a/arch/blackfin/mach-bf561/boards/ezkit.c +++ b/arch/blackfin/mach-bf561/boards/ezkit.c | |||
@@ -78,7 +78,7 @@ int __init bfin_isp1761_init(void) | |||
78 | { | 78 | { |
79 | unsigned int num_devices = ARRAY_SIZE(bfin_isp1761_devices); | 79 | unsigned int num_devices = ARRAY_SIZE(bfin_isp1761_devices); |
80 | 80 | ||
81 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); | 81 | printk(KERN_INFO "%s(): registering device resources\n", __func__); |
82 | set_irq_type(ISP1761_IRQ, IRQF_TRIGGER_FALLING); | 82 | set_irq_type(ISP1761_IRQ, IRQF_TRIGGER_FALLING); |
83 | 83 | ||
84 | return platform_add_devices(bfin_isp1761_devices, num_devices); | 84 | return platform_add_devices(bfin_isp1761_devices, num_devices); |
diff --git a/arch/blackfin/mach-bf561/boards/generic_board.c b/arch/blackfin/mach-bf561/boards/generic_board.c index fc80c5d059f8..2faa0072d614 100644 --- a/arch/blackfin/mach-bf561/boards/generic_board.c +++ b/arch/blackfin/mach-bf561/boards/generic_board.c | |||
@@ -70,7 +70,7 @@ static struct platform_device *generic_board_devices[] __initdata = { | |||
70 | 70 | ||
71 | static int __init generic_board_init(void) | 71 | static int __init generic_board_init(void) |
72 | { | 72 | { |
73 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); | 73 | printk(KERN_INFO "%s(): registering device resources\n", __func__); |
74 | return platform_add_devices(generic_board_devices, | 74 | return platform_add_devices(generic_board_devices, |
75 | ARRAY_SIZE(generic_board_devices)); | 75 | ARRAY_SIZE(generic_board_devices)); |
76 | } | 76 | } |
diff --git a/arch/blackfin/mach-bf561/boards/tepla.c b/arch/blackfin/mach-bf561/boards/tepla.c index ec6a2207c202..c9174b39f98d 100644 --- a/arch/blackfin/mach-bf561/boards/tepla.c +++ b/arch/blackfin/mach-bf561/boards/tepla.c | |||
@@ -50,7 +50,7 @@ static struct platform_device *tepla_devices[] __initdata = { | |||
50 | 50 | ||
51 | static int __init tepla_init(void) | 51 | static int __init tepla_init(void) |
52 | { | 52 | { |
53 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); | 53 | printk(KERN_INFO "%s(): registering device resources\n", __func__); |
54 | return platform_add_devices(tepla_devices, ARRAY_SIZE(tepla_devices)); | 54 | return platform_add_devices(tepla_devices, ARRAY_SIZE(tepla_devices)); |
55 | } | 55 | } |
56 | 56 | ||