sh: Use device_initcall() instead of __initcall()
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
144cd59687
commit
95d210ce6b
@ -66,7 +66,7 @@ static int __init init_edosk7705_devices(void)
|
||||
return platform_add_devices(edosk7705_devices,
|
||||
ARRAY_SIZE(edosk7705_devices));
|
||||
}
|
||||
__initcall(init_edosk7705_devices);
|
||||
device_initcall(init_edosk7705_devices);
|
||||
|
||||
/*
|
||||
* The Machine Vector
|
||||
|
@ -182,7 +182,7 @@ static int __init init_edosk7760_devices(void)
|
||||
return platform_add_devices(edosk7760_devices,
|
||||
ARRAY_SIZE(edosk7760_devices));
|
||||
}
|
||||
__initcall(init_edosk7760_devices);
|
||||
device_initcall(init_edosk7760_devices);
|
||||
|
||||
/*
|
||||
* The Machine Vector
|
||||
|
@ -284,7 +284,7 @@ static int __init sh7785lcr_devices_setup(void)
|
||||
return platform_add_devices(sh7785lcr_devices,
|
||||
ARRAY_SIZE(sh7785lcr_devices));
|
||||
}
|
||||
__initcall(sh7785lcr_devices_setup);
|
||||
device_initcall(sh7785lcr_devices_setup);
|
||||
|
||||
/* Initialize IRQ setting */
|
||||
void __init init_sh7785lcr_IRQ(void)
|
||||
|
@ -165,7 +165,7 @@ static int __init smsc_superio_setup(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
__initcall(smsc_superio_setup);
|
||||
device_initcall(smsc_superio_setup);
|
||||
|
||||
static void __iomem *cayman_ioport_map(unsigned long port, unsigned int len)
|
||||
{
|
||||
|
@ -81,7 +81,7 @@ static int __init landisk_devices_setup(void)
|
||||
ARRAY_SIZE(landisk_devices));
|
||||
}
|
||||
|
||||
__initcall(landisk_devices_setup);
|
||||
device_initcall(landisk_devices_setup);
|
||||
|
||||
static void __init landisk_setup(char **cmdline_p)
|
||||
{
|
||||
|
@ -258,7 +258,7 @@ static int __init rts7751r2d_devices_setup(void)
|
||||
return platform_add_devices(rts7751r2d_devices,
|
||||
ARRAY_SIZE(rts7751r2d_devices));
|
||||
}
|
||||
__initcall(rts7751r2d_devices_setup);
|
||||
device_initcall(rts7751r2d_devices_setup);
|
||||
|
||||
static void rts7751r2d_power_off(void)
|
||||
{
|
||||
|
@ -135,7 +135,7 @@ static int __init sdk7786_devices_setup(void)
|
||||
|
||||
return sdk7786_i2c_setup();
|
||||
}
|
||||
__initcall(sdk7786_devices_setup);
|
||||
device_initcall(sdk7786_devices_setup);
|
||||
|
||||
static int sdk7786_mode_pins(void)
|
||||
{
|
||||
|
@ -77,7 +77,7 @@ static int __init se7206_devices_setup(void)
|
||||
{
|
||||
return platform_add_devices(se7206_devices, ARRAY_SIZE(se7206_devices));
|
||||
}
|
||||
__initcall(se7206_devices_setup);
|
||||
device_initcall(se7206_devices_setup);
|
||||
|
||||
static int se7206_mode_pins(void)
|
||||
{
|
||||
|
@ -48,7 +48,7 @@ static int __init se7751_devices_setup(void)
|
||||
{
|
||||
return platform_add_devices(se7751_devices, ARRAY_SIZE(se7751_devices));
|
||||
}
|
||||
__initcall(se7751_devices_setup);
|
||||
device_initcall(se7751_devices_setup);
|
||||
|
||||
/*
|
||||
* The Machine Vector
|
||||
|
@ -96,7 +96,7 @@ static int __init sh03_devices_setup(void)
|
||||
|
||||
return platform_add_devices(sh03_devices, ARRAY_SIZE(sh03_devices));
|
||||
}
|
||||
__initcall(sh03_devices_setup);
|
||||
device_initcall(sh03_devices_setup);
|
||||
|
||||
static struct sh_machine_vector mv_sh03 __initmv = {
|
||||
.mv_name = "Interface (CTP/PCI-SH03)",
|
||||
|
Loading…
Reference in New Issue
Block a user