[U-Boot] [PATCH v12 1/8] dm: drop unused helper in MTD header

Jagan Teki jagan at amarulasolutions.com
Mon Oct 1 09:53:46 UTC 2018


On Sat, Sep 29, 2018 at 4:29 PM Miquel Raynal <miquel.raynal at bootlin.com> wrote:
>
> include/mtd.h might be included by files even if CONFIG_DM is not
> enabled. In this case, the call to dev_get_uclass_priv() would trigger
> a build error. Because this helper has no user, let's drop it off.

Why would they use DM include file w/o using it? we need to fix in those places.


More information about the U-Boot mailing list