mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
Blackfin arch: fixup board init function name
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
This commit is contained in:
parent
2678479c33
commit
7f6678c52f
@ -966,7 +966,7 @@ static struct platform_device *stamp_devices[] __initdata = {
|
||||
&bfin_gpios_device,
|
||||
};
|
||||
|
||||
static int __init stamp_init(void)
|
||||
static int __init cm_init(void)
|
||||
{
|
||||
printk(KERN_INFO "%s(): registering device resources\n", __func__);
|
||||
i2c_register_board_info(0, bfin_i2c_board_info,
|
||||
@ -976,7 +976,7 @@ static int __init stamp_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
arch_initcall(stamp_init);
|
||||
arch_initcall(cm_init);
|
||||
|
||||
void native_machine_restart(char *cmd)
|
||||
{
|
||||
|
@ -762,7 +762,7 @@ static struct platform_device *stamp_devices[] __initdata = {
|
||||
&bfin_gpios_device,
|
||||
};
|
||||
|
||||
static int __init stamp_init(void)
|
||||
static int __init ezbrd_init(void)
|
||||
{
|
||||
printk(KERN_INFO "%s(): registering device resources\n", __func__);
|
||||
i2c_register_board_info(0, bfin_i2c_board_info,
|
||||
@ -772,7 +772,7 @@ static int __init stamp_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
arch_initcall(stamp_init);
|
||||
arch_initcall(ezbrd_init);
|
||||
|
||||
void native_machine_restart(char *cmd)
|
||||
{
|
||||
|
@ -1046,7 +1046,7 @@ static struct platform_device *stamp_devices[] __initdata = {
|
||||
&bfin_gpios_device,
|
||||
};
|
||||
|
||||
static int __init stamp_init(void)
|
||||
static int __init ezkit_init(void)
|
||||
{
|
||||
printk(KERN_INFO "%s(): registering device resources\n", __func__);
|
||||
i2c_register_board_info(0, bfin_i2c_board_info,
|
||||
@ -1056,7 +1056,7 @@ static int __init stamp_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
arch_initcall(stamp_init);
|
||||
arch_initcall(ezkit_init);
|
||||
|
||||
void native_machine_restart(char *cmd)
|
||||
{
|
||||
|
@ -708,7 +708,7 @@ static struct platform_device *stamp_devices[] __initdata = {
|
||||
#endif
|
||||
};
|
||||
|
||||
static int __init stamp_init(void)
|
||||
static int __init generic_init(void)
|
||||
{
|
||||
printk(KERN_INFO "%s(): registering device resources\n", __func__);
|
||||
platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices));
|
||||
@ -720,7 +720,7 @@ static int __init stamp_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
arch_initcall(stamp_init);
|
||||
arch_initcall(generic_init);
|
||||
|
||||
void native_machine_restart(char *cmd)
|
||||
{
|
||||
|
@ -558,7 +558,7 @@ static struct platform_device *stamp_devices[] __initdata = {
|
||||
#endif
|
||||
};
|
||||
|
||||
static int __init stamp_init(void)
|
||||
static int __init pnav_init(void)
|
||||
{
|
||||
printk(KERN_INFO "%s(): registering device resources\n", __func__);
|
||||
platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices));
|
||||
@ -569,7 +569,7 @@ static int __init stamp_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
arch_initcall(stamp_init);
|
||||
arch_initcall(pnav_init);
|
||||
|
||||
void bfin_get_ether_addr(char *addr)
|
||||
{
|
||||
|
@ -615,7 +615,7 @@ static struct platform_device *cm_bf537_devices[] __initdata = {
|
||||
&bfin_gpios_device,
|
||||
};
|
||||
|
||||
static int __init cm_bf537_init(void)
|
||||
static int __init tcm_bf537_init(void)
|
||||
{
|
||||
printk(KERN_INFO "%s(): registering device resources\n", __func__);
|
||||
platform_add_devices(cm_bf537_devices, ARRAY_SIZE(cm_bf537_devices));
|
||||
@ -629,7 +629,7 @@ static int __init cm_bf537_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
arch_initcall(cm_bf537_init);
|
||||
arch_initcall(tcm_bf537_init);
|
||||
|
||||
void bfin_get_ether_addr(char *addr)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user