mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
sh: Early Platform Data for SuperH Mobile
Use plat_early_device_setup() to register Early Platform Data for SuperH Mobile processors. Signed-off-by: Magnus Damm <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
87a00dc059
commit
28fde6863e
4 changed files with 40 additions and 0 deletions
|
|
@ -234,6 +234,16 @@ static int __init sh7343_devices_setup(void)
|
|||
}
|
||||
__initcall(sh7343_devices_setup);
|
||||
|
||||
static struct platform_device *sh7343_early_devices[] __initdata = {
|
||||
&cmt_device,
|
||||
};
|
||||
|
||||
void __init plat_early_device_setup(void)
|
||||
{
|
||||
early_platform_add_devices(sh7343_early_devices,
|
||||
ARRAY_SIZE(sh7343_early_devices));
|
||||
}
|
||||
|
||||
enum {
|
||||
UNUSED = 0,
|
||||
|
||||
|
|
|
|||
|
|
@ -226,6 +226,16 @@ static int __init sh7366_devices_setup(void)
|
|||
}
|
||||
__initcall(sh7366_devices_setup);
|
||||
|
||||
static struct platform_device *sh7366_early_devices[] __initdata = {
|
||||
&cmt_device,
|
||||
};
|
||||
|
||||
void __init plat_early_device_setup(void)
|
||||
{
|
||||
early_platform_add_devices(sh7366_early_devices,
|
||||
ARRAY_SIZE(sh7366_early_devices));
|
||||
}
|
||||
|
||||
enum {
|
||||
UNUSED=0,
|
||||
|
||||
|
|
|
|||
|
|
@ -270,6 +270,16 @@ static int __init sh7722_devices_setup(void)
|
|||
}
|
||||
__initcall(sh7722_devices_setup);
|
||||
|
||||
static struct platform_device *sh7722_early_devices[] __initdata = {
|
||||
&cmt_device,
|
||||
};
|
||||
|
||||
void __init plat_early_device_setup(void)
|
||||
{
|
||||
early_platform_add_devices(sh7722_early_devices,
|
||||
ARRAY_SIZE(sh7722_early_devices));
|
||||
}
|
||||
|
||||
enum {
|
||||
UNUSED=0,
|
||||
|
||||
|
|
|
|||
|
|
@ -281,6 +281,16 @@ static int __init sh7723_devices_setup(void)
|
|||
}
|
||||
__initcall(sh7723_devices_setup);
|
||||
|
||||
static struct platform_device *sh7723_early_devices[] __initdata = {
|
||||
&cmt_device,
|
||||
};
|
||||
|
||||
void __init plat_early_device_setup(void)
|
||||
{
|
||||
early_platform_add_devices(sh7723_early_devices,
|
||||
ARRAY_SIZE(sh7723_early_devices));
|
||||
}
|
||||
|
||||
enum {
|
||||
UNUSED=0,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue