Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754282AbbL3IxR (ORCPT ); Wed, 30 Dec 2015 03:53:17 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:64573 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870AbbL3IxP (ORCPT ); Wed, 30 Dec 2015 03:53:15 -0500 From: Arnd Bergmann To: James Liao Cc: Matthias Brugger , Sascha Hauer , Kevin Hilman , Daniel Kurtz , srv_heupstream@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 1/4] soc: mediatek: Separate scpsys driver common code Date: Wed, 30 Dec 2015 09:52:19 +0100 Message-ID: <2524123.scG8tD5NSM@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1451457706-14798-2-git-send-email-jamesjj.liao@mediatek.com> References: <1451457706-14798-1-git-send-email-jamesjj.liao@mediatek.com> <1451457706-14798-2-git-send-email-jamesjj.liao@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:g8/TMmWA4mWbTpaiNXFivQazSZQpIbhxi1RrET9sT72IW9/GC4D ygC1ZVYLNIjg2Iv27+wtAmSg4tEuk0oAyzwdbqLaAChCzS7Rt3o0MbwOWZ6ees7zx6UjIHn tjlZhwB/2PNTbSvWiICGi4fR/vkDZVTamCdKeg9+s5Ay6pCfPwevXk5D0AQWR0bnT2oEpkk yFOLhbq7WAATqNLXum4TQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:KDmcBDFOTpg=:l5XNldXKyeANxFnhGLqQ+Y O3CaAaPTPpJfjPTBeg0who/Bz3el4ywI9VNpNalZ6k+KkWDQ4mpW7yiNFOI7hLhmPIwjtoXZ5 bQNZsvk6hqJ/1SztDkkphBaKhPokwWFKLp6sSay4zbtOPUiYe7JPi6+Y1vDK+oZgVy2Qv+lL4 g/rTPZrLjb2tdha9lSXABEAwwL2L11YLh32FnoP3kY7+rmA5CsOwgv36ySKD40OiIUaWFRzHc fvVoG29oDKCUPC0SnS9dHK53mpLwf9YbYE8N8b1sc1rp9jjbtpv+hWkzOu9UmSLoPTKEyE2zs 1COkuEGpleUSmHr+ef/7nR9iFfsbcGCF9X/LRRv8O9eRZeLa62yIYY+EPLH4P0Esuowchs8DM XjAK2p1z9ApLqVJn56+14yxGUrg2nLY5KOmxLnUzt06rSWiZGZ91/zkbn1GBvK/hcsqjQTK1m jBFUhuCgzDDPNG18dgEWGau8QStqowhwB7I1mOOTncJt9vGlftwK/a2+W4iCmzSyGSJGoZbLn mTDesr/D6E3L9ydH5Iud46fmWBZIBbYyK7c8Hg9KZAO7fE/O/Emm+EVzZqj9gepzqD0eX4MbA 5phdC74C46A1F/CYLC3oLjrW8BCpT2r35GFg8Kj0n8z5rjZ13noQrKQcEFslTjh+t/Daaz9Df PoDfg0ikL5hu5QpXNsQ+UK/J8t1tGFqQ4WAnASW9b+aXv1gNa4F/Q6j3gLUJj5cN1AGYULHfo TY8hAVFz56b8MqLM Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1246 Lines: 34 On Wednesday 30 December 2015 14:41:43 James Liao wrote: > diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig > index 0a4ea80..eca6fb7 100644 > --- a/drivers/soc/mediatek/Kconfig > +++ b/drivers/soc/mediatek/Kconfig > @@ -22,11 +22,20 @@ config MTK_PMIC_WRAP > > config MTK_SCPSYS > bool "MediaTek SCPSYS Support" > - depends on ARCH_MEDIATEK || COMPILE_TEST > - default ARM64 && ARCH_MEDIATEK > select REGMAP > select MTK_INFRACFG > select PM_GENERIC_DOMAINS if PM > help > Say yes here to add support for the MediaTek SCPSYS power domain > driver. > + > +config MTK_SCPSYS_MT8173 > + bool "MediaTek MT8173 SCPSYS Support" > + depends on ARCH_MEDIATEK || COMPILE_TEST > + select MTK_SCPSYS > + default ARCH_MEDIATEK > Please don't "select" a user-visible Kconfig symbol. Either hide MTK_SCPSYS by removing the string behind 'bool', or make this "depends on MTK_SCPSYS". Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/