Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754064AbbBTJao (ORCPT ); Fri, 20 Feb 2015 04:30:44 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:63477 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753092AbbBTJam (ORCPT ); Fri, 20 Feb 2015 04:30:42 -0500 From: Arnd Bergmann To: Michal Marek Cc: linux-arm-kernel@lists.infradead.org, Antti Palosaari , Peter Senna Tschudin , Mauro Carvalho Chehab , Trent Piepho , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, "Yann E. MORIN" , linux-media@vger.kernel.org Subject: Re: [PATCH] [media] [kbuild] Add and use IS_REACHABLE macro Date: Fri, 20 Feb 2015 10:29:42 +0100 Message-ID: <5822078.VORY4BTfEj@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <54E5FBEA.1000005@suse.cz> References: <6116702.rrbrOqQ26P@wuerfel> <14254005.QkaJhTuY5H@wuerfel> <54E5FBEA.1000005@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:hzQf/8qyWdtOYm8r4V7BuZtcRpGVZfowS567j/avVEliU0FlLwU Z67PZGypuIP9AhhVaj/ZZFKcEAqH5VHYRHLAf1lAAadFcXxligvh7f/KKK7E8kES9P9B7Hx ub1/7q0xU95ctzY4VnzdrM58kWN42lJI9VPJU0fauIXbLjFMQu/Pm/0niop+Q/lEJGI0Plp XoR6PYQ3nRCRbtXCpi9/g== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1067 Lines: 27 On Thursday 19 February 2015 16:06:18 Michal Marek wrote: > > We have similar problems in other areas > > of the kernel. In theory, we could enforce the VIDEO_TUNER driver to > > be modular here by adding lots of dependencies to it: > > > > config VIDEO_TUNER > > tristate > > depends on MEDIA_TUNER_TEA5761 || !MEDIA_TUNER_TEA5761 > > depends on MEDIA_TUNER_TEA5767 || !MEDIA_TUNER_TEA5767 > > depends on MEDIA_TUNER_MSI001 || !MEDIA_TUNER_MSI001 > > Nah, that's even uglier. I suggest to merge your IS_REACHABLE patch. > Ok, can I take this as an ack from your side to merge the include/linux/kconfig.h part of the patch through the linux-media tree? I thought about splitting up the patch into two, but that would just make merging it harder because we'd still have the dependency. 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/