summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-05-14 11:43:59 +0900
committerKukjin Kim <kgene@kernel.org>2015-05-14 11:43:59 +0900
commitc1f0ecff492ea7c804fe543267f673eaac12259c (patch)
tree37be477fea7a804786a6421d2c9799c20a222f76 /arch/arm/mach-exynos
parent6f024978e74bda616b27183adee029b65eb27032 (diff)
downloadblackbird-op-linux-c1f0ecff492ea7c804fe543267f673eaac12259c.tar.gz
blackbird-op-linux-c1f0ecff492ea7c804fe543267f673eaac12259c.zip
ARM: EXYNOS: Use of_machine_is_compatible instead of soc_is_exynos4
of_machine_is_compatible() seems to be preferred over soc_is_exynos4(). Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
Diffstat (limited to 'arch/arm/mach-exynos')
-rw-r--r--arch/arm/mach-exynos/exynos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index c3bfbba3006d..5917a30eee33 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -179,7 +179,7 @@ static void __init exynos_init_io(void)
*/
void exynos_set_delayed_reset_assertion(bool enable)
{
- if (soc_is_exynos4()) {
+ if (of_machine_is_compatible("samsung,exynos4")) {
unsigned int tmp, core_id;
for (core_id = 0; core_id < num_possible_cpus(); core_id++) {
OpenPOWER on IntegriCloud