From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Subject: Re: [PATCH 1/2] mtd: nand: mxc: Test CONFIG_OF instead of CONFIG_OF_MTD Date: Wed, 21 Sep 2016 15:57:50 +0200 Message-ID: <20160921155750.4b5939fb@bbrezillon> References: <1474135031-29443-1-git-send-email-boris.brezillon@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1474135031-29443-1-git-send-email-boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Boris Brezillon , Richard Weinberger , linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: David Woodhouse , Brian Norris , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On Sat, 17 Sep 2016 19:57:10 +0200 Boris Brezillon wrote: > We are about to drop the OF_MTD Kconfig option. Test CONFIG_OF > activation instead of CONFIG_OF_MTD. Applied both. > > Signed-off-by: Boris Brezillon > --- > drivers/mtd/nand/mxc_nand.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c > index 75c0c0eb52ae..d68314c8c399 100644 > --- a/drivers/mtd/nand/mxc_nand.c > +++ b/drivers/mtd/nand/mxc_nand.c > @@ -1565,7 +1565,7 @@ static const struct platform_device_id mxcnd_devtype[] = { > }; > MODULE_DEVICE_TABLE(platform, mxcnd_devtype); > > -#ifdef CONFIG_OF_MTD > +#ifdef CONFIG_OF > static const struct of_device_id mxcnd_dt_ids[] = { > { > .compatible = "fsl,imx21-nand", -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html