From patchwork Mon May 11 01:27:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6372421 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 206C3BEEE1 for ; Mon, 11 May 2015 01:28:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 58674203E1 for ; Mon, 11 May 2015 01:28:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E0586203C4 for ; Mon, 11 May 2015 01:28:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752249AbbEKB14 (ORCPT ); Sun, 10 May 2015 21:27:56 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:53404 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752122AbbEKB1q (ORCPT ); Sun, 10 May 2015 21:27:46 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NO500GQFW28AB60@mailout1.w1.samsung.com>; Mon, 11 May 2015 02:27:44 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-9d-55500590390b Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id F6.0A.04846.09500555; Mon, 11 May 2015 02:27:44 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NO500N81W1Z2M10@eusync3.samsung.com>; Mon, 11 May 2015 02:27:44 +0100 (BST) From: Krzysztof Kozlowski To: Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , Chanwoo Choi , Krzysztof Kozlowski Subject: [PATCH v3 2/2] ARM: EXYNOS: Use of_machine_is_compatible instead of soc_is_exynos4 Date: Mon, 11 May 2015 10:27:26 +0900 Message-id: <1431307646-10779-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1431307646-10779-1-git-send-email-k.kozlowski@samsung.com> References: <1431307646-10779-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjluLIzCtJLcpLzFFi42I5/e/4Vd0JrAGhBnMmsVlsnLGe1eL6l+es Fq9fGFr0P37NbLHp8TVWi8u75rBZzDi/j8mB3WPTqk42j81L6j36tqxi9Pi8SS6AJYrLJiU1 J7MstUjfLoEr48O9/SwFK9kqJnxfwt7AuIq1i5GTQ0LAROJ60xYmCFtM4sK99WwgtpDAUkaJ ie0xXYxcQPZ/RokD1+eAFbEJGEtsXr6EDSQhItDFKDFry28wh1lgIqPE7sML2UGqhAViJRad XcoCYrMIqEpMf3UDbB2vgLvEsm9n2CDWyUmcPDYZLM4p4CGx+d0eRojV7hI7t+9mnMDIu4CR YRWjaGppckFxUnquoV5xYm5xaV66XnJ+7iZGSCh92cG4+JjVIUYBDkYlHt4NJ/1ChVgTy4or cw8xSnAwK4nwmn3zDxXiTUmsrEotyo8vKs1JLT7EKM3BoiTOO3fX+xAhgfTEktTs1NSC1CKY LBMHp1QD47on6+u95Rnm3IoIanA5lM+ean/n7B2l0LplkzqU1KYbywZwewszMVm73xdWirry 0VvQbK1yxM9rkxluMvpaNyv+PN6mwPNM9K3DQZuaz2srI3QYL+xaIc7h2R+1TdtJ/2Zg5MyK 2OAz006Uti6LmRv2ZUV6fZHEt6YLUhlz1fnN1yTmyBgpsRRnJBpqMRcVJwIAdm40LyECAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP of_machine_is_compatible() seems to be preferred over soc_is_exynos4(). Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. New patch, requested by Kukjin Kim. --- arch/arm/mach-exynos/exynos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) {