Message ID | 1474135031-29443-1-git-send-email-boris.brezillon@free-electrons.com |
---|---|
State | Accepted |
Commit | ba52b4dd653088cb936b94c447f0a4dd20814629 |
Headers | show |
On 17.09.2016 19:57, Boris Brezillon wrote: > We are about to drop the OF_MTD Kconfig option. Test CONFIG_OF > activation instead of CONFIG_OF_MTD. > > Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Reviewed-by: Richard Weinberger <richard@nod.at> Thanks, //richard
On Sat, 17 Sep 2016 19:57:10 +0200 Boris Brezillon <boris.brezillon@free-electrons.com> 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 <boris.brezillon@free-electrons.com> > --- > 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",
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",
We are about to drop the OF_MTD Kconfig option. Test CONFIG_OF activation instead of CONFIG_OF_MTD. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> --- drivers/mtd/nand/mxc_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)