aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/omap_device.c')
-rw-r--r--arch/arm/mach-omap2/omap_device.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/omap_device.c b/arch/arm/mach-omap2/omap_device.c
index f989145480c8..ef9ffb8ac912 100644
--- a/arch/arm/mach-omap2/omap_device.c
+++ b/arch/arm/mach-omap2/omap_device.c
@@ -65,7 +65,7 @@ static void _add_clkdev(struct omap_device *od, const char *clk_alias,
65 65
66 r = clk_get_sys(NULL, clk_name); 66 r = clk_get_sys(NULL, clk_name);
67 67
68 if (IS_ERR(r) && of_have_populated_dt()) { 68 if (IS_ERR(r)) {
69 struct of_phandle_args clkspec; 69 struct of_phandle_args clkspec;
70 70
71 clkspec.np = of_find_node_by_name(NULL, clk_name); 71 clkspec.np = of_find_node_by_name(NULL, clk_name);
@@ -953,9 +953,6 @@ static int __init omap_device_late_init(void)
953{ 953{
954 bus_for_each_dev(&platform_bus_type, NULL, NULL, omap_device_late_idle); 954 bus_for_each_dev(&platform_bus_type, NULL, NULL, omap_device_late_idle);
955 955
956 WARN(!of_have_populated_dt(),
957 "legacy booting deprecated, please update to boot with .dts\n");
958
959 return 0; 956 return 0;
960} 957}
961omap_late_initcall_sync(omap_device_late_init); 958omap_late_initcall_sync(omap_device_late_init);