Re: [PATCH v2 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

From: Andy Shevchenko
Date: Sun Apr 19 2020 - 18:22:24 EST


On Sat, Apr 18, 2020 at 10:55:33AM +0200, Boris Brezillon wrote:
> On Fri, 17 Apr 2020 16:21:47 +0800
> "Ramuthevar,Vadivel MuruganX"
> <vadivel.muruganx.ramuthevar@xxxxxxxxxxxxxxx> wrote:
>
> > From: Ramuthevar Vadivel Murugan <vadivel.muruganx.ramuthevar@xxxxxxxxxxxxxxx>

> > +static const struct of_device_id lgm_nand_match[] = {
> > + { .compatible = "intel,lgm-nand", },
> > + {}
> > +};
> > +MODULE_DEVICE_TABLE(of, lgm_nand_match);
>
> You probably have a missing "depends on OF" in your Kconfig.

Since it's using device property API, dependency is not needed.

--
With Best Regards,
Andy Shevchenko