disk: part: remove dependency to ubifs for spl
The spl doesn't support ubifs and thereby doesn't provide the ubifs_is_mounted function. Remove the dependency to ubifs for the spl. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
This commit is contained in:

committed by
Tom Rini

parent
e9ac3a939d
commit
2f03a639f3
@@ -479,7 +479,7 @@ int blk_get_device_part_str(const char *ifname, const char *dev_part_str,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_CMD_UBIFS
|
#if IS_ENABLED(CONFIG_CMD_UBIFS) && !IS_ENABLED(CONFIG_SPL_BUILD)
|
||||||
/*
|
/*
|
||||||
* Special-case ubi, ubi goes through a mtd, rather than through
|
* Special-case ubi, ubi goes through a mtd, rather than through
|
||||||
* a regular block device.
|
* a regular block device.
|
||||||
|
Reference in New Issue
Block a user