diff options
-rw-r--r-- | arch/arm/mach-exynos/mcpm-exynos.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/mcpm-exynos.c b/arch/arm/mach-exynos/mcpm-exynos.c index 1ac618ce440b..20707bdfca6d 100644 --- a/arch/arm/mach-exynos/mcpm-exynos.c +++ b/arch/arm/mach-exynos/mcpm-exynos.c | |||
@@ -290,13 +290,19 @@ static void __naked exynos_pm_power_up_setup(unsigned int affinity_level) | |||
290 | "b cci_enable_port_for_self"); | 290 | "b cci_enable_port_for_self"); |
291 | } | 291 | } |
292 | 292 | ||
293 | static const struct of_device_id exynos_dt_mcpm_match[] = { | ||
294 | { .compatible = "samsung,exynos5420" }, | ||
295 | { .compatible = "samsung,exynos5800" }, | ||
296 | {}, | ||
297 | }; | ||
298 | |||
293 | static int __init exynos_mcpm_init(void) | 299 | static int __init exynos_mcpm_init(void) |
294 | { | 300 | { |
295 | struct device_node *node; | 301 | struct device_node *node; |
296 | void __iomem *ns_sram_base_addr; | 302 | void __iomem *ns_sram_base_addr; |
297 | int ret; | 303 | int ret; |
298 | 304 | ||
299 | node = of_find_compatible_node(NULL, NULL, "samsung,exynos5420"); | 305 | node = of_find_matching_node(NULL, exynos_dt_mcpm_match); |
300 | if (!node) | 306 | if (!node) |
301 | return -ENODEV; | 307 | return -ENODEV; |
302 | of_node_put(node); | 308 | of_node_put(node); |