Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp35344imu; Thu, 3 Jan 2019 13:30:23 -0800 (PST) X-Google-Smtp-Source: AFSGD/WrSL2PhR747j72Wk2iOophlcaVawpVizbYULFJgg106reCFEMKlSw0qPtEWsJEID8wHKTt X-Received: by 2002:a62:4587:: with SMTP id n7mr49242002pfi.118.1546551022945; Thu, 03 Jan 2019 13:30:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546551022; cv=none; d=google.com; s=arc-20160816; b=lJjQw87OavVpoQkm+BxNjRq2zfGvTIUT7zhlmBrBZxAdY/yk8XrTju/EL2/k5/yzmc 3LscDP0ChSGTodC8llL5twIX/getaLMXitl9WW51qFkduXMbDgldlj5d80xgFVDeFWAa 7h99i8vYujg1vBYaUF5QlK6tUuKqoIIFzjnsP/PD3Dnz5WteUdMhbES1Vd0Sy1PP6wmR q09qsWaDZYUxA0ftg1E06KjoijDAPYVgSI//li0o4FQGavrZtikaHJlW/k0htWnrbuYY pWlaGqks8VneA5BK0vz4HernQP8jqtNGhjraftK/Vls8sJx8MrVFJ8d7StUFNiHIy8Cq Httw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Kt8C8T/txUtgcPdvCiXlfr+CtmaIZNTW1fwIY2FBNcM=; b=EDvguiyeqwOwLqZhuknpvNPlOBvl31PePvDxnV73tudm7THedyLTxV5EfIIwwtNgu3 ZxSMoTdHNiIpZAbAXZ48yRtedzLDram1bpqU7HbwaZh1lIBnmz283NnLM4vEFn0/6DLr W5aRKy3+qSMx9rnlihJj2ToVziwrDZjITrq7MSunyk6W7biz8q12+IK380XqUOOx5mcS 0wVvc3qrdItyb5E+xuJBjuKXL4mGBsdDccIWG6/ln8lLdnRetnBeBYNRbGusBuZNOnZf dPSTV4Q+pJlpfffdvQi2cBnht6iSEFBdx7wouhm6SpxUNX0DMlabT+tmZNEomPfAsvfp E0QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=SZ3XB+RQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si54823765pfg.280.2019.01.03.13.29.28; Thu, 03 Jan 2019 13:30:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=SZ3XB+RQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730851AbfACOgh (ORCPT + 99 others); Thu, 3 Jan 2019 09:36:37 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:50254 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727436AbfACOgh (ORCPT ); Thu, 3 Jan 2019 09:36:37 -0500 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 Cc: arnd@arndb.de, kernel@pengutronix.de, fabio.estevam@nxp.com, linux-imx@nxp.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Agner 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 Content-Transfer-Encoding: 8bit X-Spam: Yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.19.2