Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932147AbcCCK6z (ORCPT ); Thu, 3 Mar 2016 05:58:55 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:50433 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754943AbcCCK6w (ORCPT ); Thu, 3 Mar 2016 05:58:52 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski , Daniel Lezcano , Thomas Gleixner , Dan Williams , Vinod Koul , Jason Cooper , Marc Zyngier , Mauro Carvalho Chehab , Lee Jones , Giuseppe Cavallaro , Kishon Vijay Abraham I , Linus Walleij , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Alessandro Zummo , Alexandre Belloni , Andy Gross , David Brown , Laurent Pinchart , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org, netdev@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, rtc-linux@googlegroups.com, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devel@driverdev.osuosl.org, linux-usb@vger.kernel.org Subject: Re: [RFC 09/15] media: platform: Add missing MFD_SYSCON dependency on HAS_IOMEM Date: Thu, 03 Mar 2016 11:57:10 +0100 Message-ID: <2181866.k24LVvUjTs@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1456992221-26712-10-git-send-email-k.kozlowski@samsung.com> References: <1456992221-26712-1-git-send-email-k.kozlowski@samsung.com> <1456992221-26712-10-git-send-email-k.kozlowski@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:6qysSNq9tYT/r72qg57kkTT/u3RnEa0BbkB46tjcvRdxp34MxAq WM/UbDSdtn053Tdjr888WOtQrFTpjPzhemr/mlGwdgMe7JFagck61MrWaWEc0CRIy93WFwF p0COjvZ7h42ivcoFyFdEXiHh0rA/h0qs7SjGWcIdQcoO+1ZrAalOHO7Sg9dEWmv9Y4wWc8m nYti2SZ/ewVG3JCnhcODw== X-UI-Out-Filterresults: notjunk:1;V01:K0:7KOJ5owSksY=:Pa8KEbgEBrb59WuDIZ0nk4 G8xge0eS97BmyQJBCcHo6o5ZQpny7l8gpfhjDOIB8ysD0rbM4QuHyto3dA85Uazq3puYma8pi 4k7DpOyBohx28M7/tzOZjm7qm6oz/jfV8Dte7Lo93PV8/pHKWLdSAkuZRhBGbvIc5RvOGZqV/ Tho2jQdArT/DFI1hmHAV+GrOfjy3dpnGoREDYg+MGYJuC09DcWobGR1pvhHbCNSApnKmCiN2P oZvCs/56eBpEhlaqNpiusa8bt4f2HwBXqbraRdW67zv5u3UuwcWPJVoUSg0y2mqRGyx0yEXbu 5B648bHgrdcSsoPMX47QaeoO2MxQasasL1uAXFV9ejliVH/Pb3rrf2RvQUImGtJMUW/GTPYSa BUGSBXwR7AJR04Gs29GZkBckNBvYX8R9UtTC+uksO240mBza+zmKw9mfyhtSro0xhl+bs0BaE mYWyofKZvhF3Z5okhyKgrpOc6c9uhJaUkv8JPqJG6xYFbHXGvnaxBOW4iQvjtTzJeVBwOpapZ bunX8Dqz96Z6ufyyCFItw88XN+sm5vd30sje4R9MwAuF6cof0NUJE/qdYVvrMtEfVFW3meOTo Ign0ob5+Z8p0ydLea8BFWUMcvmC36kAQuOb30bU49PJ12CcXuRzvzvuY397IkZQ9Fu1xcqz0Q NEebL8O6mrWWki6cy/22k5AO0cIKI1xC4amBKmzWV9giYhz6e7/F7UgHK/gkysVcZVLuXUMTb SG0uwtykcC8ZHnDi Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1266 Lines: 31 On Thursday 03 March 2016 17:03:35 Krzysztof Kozlowski wrote: > diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig > index 201f5c296a95..e5931e434fa2 100644 > --- a/drivers/media/platform/Kconfig > +++ b/drivers/media/platform/Kconfig > @@ -79,6 +79,7 @@ config VIDEO_OMAP3 > depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3 > depends on HAS_DMA && OF > depends on OMAP_IOMMU > + depends on HAS_IOMEM # For MFD_SYSCON > select ARM_DMA_USE_IOMMU > select VIDEOBUF2_DMA_CONTIG This is only built for OMAP3, so we won't get here without HAS_IOMEM > select MFD_SYSCON > diff --git a/drivers/media/platform/exynos4-is/Kconfig b/drivers/media/platform/exynos4-is/Kconfig > index 57d42c6172c5..c4317b99d257 100644 > --- a/drivers/media/platform/exynos4-is/Kconfig > +++ b/drivers/media/platform/exynos4-is/Kconfig > @@ -17,6 +17,7 @@ config VIDEO_S5P_FIMC > tristate "S5P/EXYNOS4 FIMC/CAMIF camera interface driver" > depends on I2C > depends on HAS_DMA > + depends on HAS_IOMEM # For MFD_SYSCON > select VIDEOBUF2_DMA_CONTIG > select V4L2_MEM2MEM_DEV This is guarded by HAS_DMA, which implies HAS_IOMEM afaik. Arnd