aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2009-02-04 03:49:45 -0500
committerBryan Wu <cooloney@kernel.org>2009-02-04 03:49:45 -0500
commit7f6678c52fea7ff3e7eb6a5f0e0b705c1991eaa2 (patch)
tree4cc8bc88d6635004ba8c60d4aaf735133e9d21e7 /arch/blackfin
parent2678479c33774f297ea2a5d232cad11c4d56ef6c (diff)
Blackfin arch: fixup board init function name
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-bf527/boards/cm_bf527.c4
-rw-r--r--arch/blackfin/mach-bf527/boards/ezbrd.c4
-rw-r--r--arch/blackfin/mach-bf527/boards/ezkit.c4
-rw-r--r--arch/blackfin/mach-bf537/boards/generic_board.c4
-rw-r--r--arch/blackfin/mach-bf537/boards/pnav10.c4
-rw-r--r--arch/blackfin/mach-bf537/boards/tcm_bf537.c4
6 files changed, 12 insertions, 12 deletions
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c
index 638cfcddbae8..98ab8bc28304 100644
--- a/arch/blackfin/mach-bf527/boards/cm_bf527.c
+++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c
@@ -966,7 +966,7 @@ static struct platform_device *stamp_devices[] __initdata = {
966 &bfin_gpios_device, 966 &bfin_gpios_device,
967}; 967};
968 968
969static int __init stamp_init(void) 969static int __init cm_init(void)
970{ 970{
971 printk(KERN_INFO "%s(): registering device resources\n", __func__); 971 printk(KERN_INFO "%s(): registering device resources\n", __func__);
972 i2c_register_board_info(0, bfin_i2c_board_info, 972 i2c_register_board_info(0, bfin_i2c_board_info,
@@ -976,7 +976,7 @@ static int __init stamp_init(void)
976 return 0; 976 return 0;
977} 977}
978 978
979arch_initcall(stamp_init); 979arch_initcall(cm_init);
980 980
981void native_machine_restart(char *cmd) 981void native_machine_restart(char *cmd)
982{ 982{
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c
index f2b7a5482017..d0f29870f1a4 100644
--- a/arch/blackfin/mach-bf527/boards/ezbrd.c
+++ b/arch/blackfin/mach-bf527/boards/ezbrd.c
@@ -762,7 +762,7 @@ static struct platform_device *stamp_devices[] __initdata = {
762 &bfin_gpios_device, 762 &bfin_gpios_device,
763}; 763};
764 764
765static int __init stamp_init(void) 765static int __init ezbrd_init(void)
766{ 766{
767 printk(KERN_INFO "%s(): registering device resources\n", __func__); 767 printk(KERN_INFO "%s(): registering device resources\n", __func__);
768 i2c_register_board_info(0, bfin_i2c_board_info, 768 i2c_register_board_info(0, bfin_i2c_board_info,
@@ -772,7 +772,7 @@ static int __init stamp_init(void)
772 return 0; 772 return 0;
773} 773}
774 774
775arch_initcall(stamp_init); 775arch_initcall(ezbrd_init);
776 776
777void native_machine_restart(char *cmd) 777void native_machine_restart(char *cmd)
778{ 778{
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c
index dc9bdb9cd752..1f7a249d6926 100644
--- a/arch/blackfin/mach-bf527/boards/ezkit.c
+++ b/arch/blackfin/mach-bf527/boards/ezkit.c
@@ -1046,7 +1046,7 @@ static struct platform_device *stamp_devices[] __initdata = {
1046 &bfin_gpios_device, 1046 &bfin_gpios_device,
1047}; 1047};
1048 1048
1049static int __init stamp_init(void) 1049static int __init ezkit_init(void)
1050{ 1050{
1051 printk(KERN_INFO "%s(): registering device resources\n", __func__); 1051 printk(KERN_INFO "%s(): registering device resources\n", __func__);
1052 i2c_register_board_info(0, bfin_i2c_board_info, 1052 i2c_register_board_info(0, bfin_i2c_board_info,
@@ -1056,7 +1056,7 @@ static int __init stamp_init(void)
1056 return 0; 1056 return 0;
1057} 1057}
1058 1058
1059arch_initcall(stamp_init); 1059arch_initcall(ezkit_init);
1060 1060
1061void native_machine_restart(char *cmd) 1061void native_machine_restart(char *cmd)
1062{ 1062{
diff --git a/arch/blackfin/mach-bf537/boards/generic_board.c b/arch/blackfin/mach-bf537/boards/generic_board.c
index d12ddf155102..fb0368ec2aff 100644
--- a/arch/blackfin/mach-bf537/boards/generic_board.c
+++ b/arch/blackfin/mach-bf537/boards/generic_board.c
@@ -708,7 +708,7 @@ static struct platform_device *stamp_devices[] __initdata = {
708#endif 708#endif
709}; 709};
710 710
711static int __init stamp_init(void) 711static int __init generic_init(void)
712{ 712{
713 printk(KERN_INFO "%s(): registering device resources\n", __func__); 713 printk(KERN_INFO "%s(): registering device resources\n", __func__);
714 platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); 714 platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices));
@@ -720,7 +720,7 @@ static int __init stamp_init(void)
720 return 0; 720 return 0;
721} 721}
722 722
723arch_initcall(stamp_init); 723arch_initcall(generic_init);
724 724
725void native_machine_restart(char *cmd) 725void native_machine_restart(char *cmd)
726{ 726{
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c
index 89de94f4545d..8835c58cfaec 100644
--- a/arch/blackfin/mach-bf537/boards/pnav10.c
+++ b/arch/blackfin/mach-bf537/boards/pnav10.c
@@ -558,7 +558,7 @@ static struct platform_device *stamp_devices[] __initdata = {
558#endif 558#endif
559}; 559};
560 560
561static int __init stamp_init(void) 561static int __init pnav_init(void)
562{ 562{
563 printk(KERN_INFO "%s(): registering device resources\n", __func__); 563 printk(KERN_INFO "%s(): registering device resources\n", __func__);
564 platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); 564 platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices));
@@ -569,7 +569,7 @@ static int __init stamp_init(void)
569 return 0; 569 return 0;
570} 570}
571 571
572arch_initcall(stamp_init); 572arch_initcall(pnav_init);
573 573
574void bfin_get_ether_addr(char *addr) 574void bfin_get_ether_addr(char *addr)
575{ 575{
diff --git a/arch/blackfin/mach-bf537/boards/tcm_bf537.c b/arch/blackfin/mach-bf537/boards/tcm_bf537.c
index 2f4b066153c5..2e60bbad73ee 100644
--- a/arch/blackfin/mach-bf537/boards/tcm_bf537.c
+++ b/arch/blackfin/mach-bf537/boards/tcm_bf537.c
@@ -615,7 +615,7 @@ static struct platform_device *cm_bf537_devices[] __initdata = {
615 &bfin_gpios_device, 615 &bfin_gpios_device,
616}; 616};
617 617
618static int __init cm_bf537_init(void) 618static int __init tcm_bf537_init(void)
619{ 619{
620 printk(KERN_INFO "%s(): registering device resources\n", __func__); 620 printk(KERN_INFO "%s(): registering device resources\n", __func__);
621 platform_add_devices(cm_bf537_devices, ARRAY_SIZE(cm_bf537_devices)); 621 platform_add_devices(cm_bf537_devices, ARRAY_SIZE(cm_bf537_devices));
@@ -629,7 +629,7 @@ static int __init cm_bf537_init(void)
629 return 0; 629 return 0;
630} 630}
631 631
632arch_initcall(cm_bf537_init); 632arch_initcall(tcm_bf537_init);
633 633
634void bfin_get_ether_addr(char *addr) 634void bfin_get_ether_addr(char *addr)
635{ 635{