From patchwork Thu Jan 3 14:36:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 10747459 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 929C06C5 for ; Thu, 3 Jan 2019 14:36:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E3C92859A for ; Thu, 3 Jan 2019 14:36:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F3E12861D; Thu, 3 Jan 2019 14:36:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B7FAB2859A for ; Thu, 3 Jan 2019 14:36:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=k4QvyensYFXkWy76+DCh2AQYWH1R2FANE4vQxE8ira8=; b=Wut5Slv/XB0/4V fsrbBhS5nEJODfTNDCw7qCQaD6KbCZ89D5lqhzVOVTNTmtkZjQrwQ7hCGOLjV+6hmKjMuAAb4/83c rFBT4+HhNVeQ8xiaVMV43NsHpXMBm2NBOC2MifP+Y0Fwcs3e+KCnxOk8b7k5z/fCwgHZtjFD5yHMh exmmlekbJ2TBTavCM51AdpXV11aNdwJV4ByyzYyyRdEvN3uJMarllXiqBnETF6Tym4xxk5ukx7/Dy E3Mpzz6noeTbexnPUM2egFeha2qXeb188+rcmAXLHWT0EZbp+dWSvqmBup7BBz4eCfC+LbEDB8opN 6odfo11AgueK2gevwMDA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gf472-0000Ns-Aw; Thu, 03 Jan 2019 14:36:44 +0000 Received: from mail.kmu-office.ch ([2a02:418:6a02::a2]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gf46z-0000Mj-NM for linux-arm-kernel@lists.infradead.org; Thu, 03 Jan 2019 14:36:43 +0000 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 366345C0471; Thu, 3 Jan 2019 15:36:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1546526195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=Kt8C8T/txUtgcPdvCiXlfr+CtmaIZNTW1fwIY2FBNcM=; b=SZ3XB+RQw8x4qI7n6Iym7UHFqR9A8LoH42+5/nIpekvmeibMKsHgKKCxUb1OpUDFhhTdOx 0gnR2OfOk0Z8e/b724Tj+aNqDVTNneWKgBVESorpTarGAc58FiEj/uZ9+bUGMpgwJmjqrs wKYjbKxsPngdsgLtjbVMPNvH2yFwXBU= From: Stefan Agner To: shawnguo@kernel.org, s.hauer@pengutronix.de Subject: [PATCH] ARM: imx: don't build ssi-fiq if not required Date: Thu, 3 Jan 2019 15:36:31 +0100 Message-Id: <20190103143631.29284-1-stefan@agner.ch> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-Spam: Yes X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190103_063641_904153_F48226B4 X-CRM114-Status: GOOD ( 11.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arnd@arndb.de, linux@armlinux.org.uk, Stefan Agner , linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The symbols provided by ssi-fiq are used in sound/soc/fsl/imx-pcm-fiq.c only. Build ssi-fiq.o/ssi-fiq-ksym.o only if SND_SOC_IMX_PCM_FIQ is enabled. Signed-off-by: Stefan Agner --- arch/arm/mach-imx/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index bae179af21f6..12b05708832d 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -31,7 +31,7 @@ obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o obj-$(CONFIG_SOC_IMX6UL) += cpuidle-imx6sx.o endif -ifdef CONFIG_SND_IMX_SOC +ifdef CONFIG_SND_SOC_IMX_PCM_FIQ obj-y += ssi-fiq.o obj-y += ssi-fiq-ksym.o endif