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-bf537/boards/generic_board.c | |
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-bf537/boards/generic_board.c')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/generic_board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf537/boards/generic_board.c b/arch/blackfin/mach-bf537/boards/generic_board.c index c95395ba7bfa..b3d78ea755ca 100644 --- a/arch/blackfin/mach-bf537/boards/generic_board.c +++ b/arch/blackfin/mach-bf537/boards/generic_board.c | |||
@@ -90,7 +90,7 @@ int __init bfin_isp1761_init(void) | |||
90 | { | 90 | { |
91 | unsigned int num_devices = ARRAY_SIZE(bfin_isp1761_devices); | 91 | unsigned int num_devices = ARRAY_SIZE(bfin_isp1761_devices); |
92 | 92 | ||
93 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); | 93 | printk(KERN_INFO "%s(): registering device resources\n", __func__); |
94 | set_irq_type(ISP1761_IRQ, IRQF_TRIGGER_FALLING); | 94 | set_irq_type(ISP1761_IRQ, IRQF_TRIGGER_FALLING); |
95 | 95 | ||
96 | return platform_add_devices(bfin_isp1761_devices, num_devices); | 96 | return platform_add_devices(bfin_isp1761_devices, num_devices); |
@@ -690,7 +690,7 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
690 | 690 | ||
691 | static int __init stamp_init(void) | 691 | static int __init stamp_init(void) |
692 | { | 692 | { |
693 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); | 693 | printk(KERN_INFO "%s(): registering device resources\n", __func__); |
694 | platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); | 694 | platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); |
695 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | 695 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) |
696 | spi_register_board_info(bfin_spi_board_info, | 696 | spi_register_board_info(bfin_spi_board_info, |