summaryrefslogtreecommitdiff
path: root/libdde-linux26/contrib/include/linux/mtd/gen_probe.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-27 22:15:01 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-27 22:15:01 +0000
commit7996a3d79d55b7f879dfd62e202bbfe2963718d3 (patch)
tree8d9f6759fec4099b9be503c11c7ed174f7204980 /libdde-linux26/contrib/include/linux/mtd/gen_probe.h
parent4fbe7358c7747a9165f776eb19addbb9baf7def2 (diff)
really properly move files
Diffstat (limited to 'libdde-linux26/contrib/include/linux/mtd/gen_probe.h')
-rw-r--r--libdde-linux26/contrib/include/linux/mtd/gen_probe.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/libdde-linux26/contrib/include/linux/mtd/gen_probe.h b/libdde-linux26/contrib/include/linux/mtd/gen_probe.h
new file mode 100644
index 00000000..df362ddf
--- /dev/null
+++ b/libdde-linux26/contrib/include/linux/mtd/gen_probe.h
@@ -0,0 +1,22 @@
+/*
+ * (C) 2001, 2001 Red Hat, Inc.
+ * GPL'd
+ */
+
+#ifndef __LINUX_MTD_GEN_PROBE_H__
+#define __LINUX_MTD_GEN_PROBE_H__
+
+#include <linux/mtd/flashchip.h>
+#include <linux/mtd/map.h>
+#include <linux/mtd/cfi.h>
+#include <linux/bitops.h>
+
+struct chip_probe {
+ char *name;
+ int (*probe_chip)(struct map_info *map, __u32 base,
+ unsigned long *chip_map, struct cfi_private *cfi);
+};
+
+struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp);
+
+#endif /* __LINUX_MTD_GEN_PROBE_H__ */