aboutsummaryrefslogtreecommitdiff
path: root/include/mtd.h
diff options
context:
space:
mode:
authorthead_admin <occ_thead@service.alibaba.com>2022-09-13 11:04:33 +0800
committerthead_admin <occ_thead@service.alibaba.com>2022-09-13 11:04:33 +0800
commit43db9e00d5837c100c0b2fbbee64a08ab807d1e0 (patch)
treeb40c0eed02935b6682e8c5c975e3016b6b2f55fe /include/mtd.h
Linux_SDK_V0.9.5Linux_SDK_V0.9.5
Diffstat (limited to 'include/mtd.h')
-rw-r--r--include/mtd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/mtd.h b/include/mtd.h
new file mode 100644
index 00000000..65fcd3c7
--- /dev/null
+++ b/include/mtd.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (C) 2015 Thomas Chou <thomas@wytron.com.tw>
+ */
+
+#ifndef _MTD_H_
+#define _MTD_H_
+
+#include <linux/mtd/mtd.h>
+
+int mtd_probe(struct udevice *dev);
+int mtd_probe_devices(void);
+
+#endif /* _MTD_H_ */