diff options
Diffstat (limited to 'arch/arm/mach-shmobile/board-mackerel.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index c826d77ab8a6..f274252e4705 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -1651,7 +1651,12 @@ static void __init mackerel_init(void) | |||
1651 | pm_clk_add(&hdmi_lcdc_device.dev, "hdmi"); | 1651 | pm_clk_add(&hdmi_lcdc_device.dev, "hdmi"); |
1652 | } | 1652 | } |
1653 | 1653 | ||
1654 | MACHINE_START(MACKEREL, "mackerel") | 1654 | static const char *mackerel_boards_compat_dt[] __initdata = { |
1655 | "renesas,mackerel", | ||
1656 | NULL, | ||
1657 | }; | ||
1658 | |||
1659 | DT_MACHINE_START(MACKEREL_DT, "mackerel") | ||
1655 | .map_io = sh7372_map_io, | 1660 | .map_io = sh7372_map_io, |
1656 | .init_early = sh7372_add_early_devices, | 1661 | .init_early = sh7372_add_early_devices, |
1657 | .init_irq = sh7372_init_irq, | 1662 | .init_irq = sh7372_init_irq, |
@@ -1659,4 +1664,5 @@ MACHINE_START(MACKEREL, "mackerel") | |||
1659 | .init_machine = mackerel_init, | 1664 | .init_machine = mackerel_init, |
1660 | .init_late = sh7372_pm_init_late, | 1665 | .init_late = sh7372_pm_init_late, |
1661 | .timer = &shmobile_timer, | 1666 | .timer = &shmobile_timer, |
1667 | .dt_compat = mackerel_boards_compat_dt, | ||
1662 | MACHINE_END | 1668 | MACHINE_END |