summaryrefslogtreecommitdiff
path: root/include/mtd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mtd.h')
-rw-r--r--include/mtd.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/mtd.h b/include/mtd.h
index 548e7f191b..65fcd3c700 100644
--- a/include/mtd.h
+++ b/include/mtd.h
@@ -8,15 +8,7 @@
#include <linux/mtd/mtd.h>
-/*
- * Get mtd_info structure of the dev, which is stored as uclass private.
- *
- * @dev: The MTD device
- * @return: pointer to mtd_info, NULL on error
- */
-static inline struct mtd_info *mtd_get_info(struct udevice *dev)
-{
- return dev_get_uclass_priv(dev);
-}
+int mtd_probe(struct udevice *dev);
+int mtd_probe_devices(void);
#endif /* _MTD_H_ */