Skip to content
Commit 739def72 authored by Miquel Raynal's avatar Miquel Raynal Committed by Jagan Teki
Browse files

dm: drop unused helper in MTD header



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.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent d60aea94
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment