From patchwork Sat Sep 28 18:21:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 2958691 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 68C639F244 for ; Sat, 28 Sep 2013 18:24:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A2D6620274 for ; Sat, 28 Sep 2013 18:24:55 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BCFCD20263 for ; Sat, 28 Sep 2013 18:24:54 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPzB6-0003PN-BH; Sat, 28 Sep 2013 18:23:41 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPzAg-00075r-C3; Sat, 28 Sep 2013 18:23:14 +0000 Received: from mail-ea0-x22c.google.com ([2a00:1450:4013:c01::22c]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VPzA6-00070m-FF for linux-arm-kernel@lists.infradead.org; Sat, 28 Sep 2013 18:22:39 +0000 Received: by mail-ea0-f172.google.com with SMTP id r16so1837562ead.17 for ; Sat, 28 Sep 2013 11:22:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=o00keahZyEVGEBtFrS7a8txXepyox2+jVLsJetqZOTQ=; b=zkftjE3DnGEINJ69SwpmXVAXl97mRLpiZgFzveANI0dJpDS6/oEDZx9CREkkTfiKyS c9Ez1RQ3Dbeg0DuiA9jXkpipuwvlU2kQ5ZyVQeSOgyqindEQ2M6t71RoRE3c1Ug/VUS/ nrFu6edzwNHGhHY22UcpC8v38SW8zfMwr1QImvQoO1TJRKQp6Ui+nW58+/FnKs9h0vwM DyWC2vrUvxNBGs7YCc5UJtRZrjwMBwkeKgWMwrAbQg/Y+K6o2LbGHXFS9YNfK1ZqFL0+ KXOFXLA90T5od9N5ayepH/ZEJb1VzmnDiC5i4WrkYaHuqviqN5ozYsGPCTLdE8v926Cx XrNA== X-Received: by 10.15.93.141 with SMTP id w13mr132929eez.59.1380392534275; Sat, 28 Sep 2013 11:22:14 -0700 (PDT) Received: from flatron.tomeq (87-207-52-162.dynamic.chello.pl. [87.207.52.162]) by mx.google.com with ESMTPSA id f49sm30405339eec.7.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 11:22:13 -0700 (PDT) From: Tomasz Figa To: linux-samsung-soc@vger.kernel.org Subject: [PATCH 4/5] ASoC: samsung: Use CONFIG_ARCH_S3C64XX to check for S3C64xx support Date: Sat, 28 Sep 2013 20:21:36 +0200 Message-Id: <1380392497-27406-4-git-send-email-tomasz.figa@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1380392497-27406-1-git-send-email-tomasz.figa@gmail.com> References: <1380392497-27406-1-git-send-email-tomasz.figa@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130928_142238_703949_EE8A3D36 X-CRM114-Status: GOOD ( 13.05 ) X-Spam-Score: 1.4 (+) Cc: alsa-devel@alsa-project.org, Kukjin Kim , Russell King - ARM Linux , Sylwester Nawrocki , Arnd Bergmann , Sangbeom Kim , Linus Walleij , Takashi Iwai , linux-kernel@vger.kernel.org, Liam Girdwood , linux-gpio@vger.kernel.org, Mark Brown , Geert Uytterhoeven , Ben Dooks , Olof Johansson , Martin Schwidefsky , Mauro Carvalho Chehab , Tomasz Figa , Jaroslav Kysela , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, KHOP_BIG_TO_CC, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 Since CONFIG_PLAT_S3C64XX is going to be removed, this patch modifies the s3c-i2s-v2 driver to use the proper way of checking for S3C64xx support - CONFIG_ARCH_S3C64XX. Signed-off-by: Tomasz Figa Acked-by: Mark Brown --- sound/soc/samsung/s3c-i2s-v2.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sound/soc/samsung/s3c-i2s-v2.c b/sound/soc/samsung/s3c-i2s-v2.c index e5e81b1..fefc561 100644 --- a/sound/soc/samsung/s3c-i2s-v2.c +++ b/sound/soc/samsung/s3c-i2s-v2.c @@ -31,11 +31,7 @@ #undef S3C_IIS_V2_SUPPORTED #if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413) \ - || defined(CONFIG_CPU_S5PV210) -#define S3C_IIS_V2_SUPPORTED -#endif - -#ifdef CONFIG_PLAT_S3C64XX + || defined(CONFIG_ARCH_S3C64XX) || defined(CONFIG_CPU_S5PV210) #define S3C_IIS_V2_SUPPORTED #endif