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:10 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-27 22:15:10 +0000
commitb5875be0451b92bdd99663c8305ae46bd6a7d90c (patch)
tree68a6a5f79ac618c79ba3777c21faaea9aec2f0b4 /libdde-linux26/contrib/include/linux/mtd/gen_probe.h
parentce6a36c7f7c88e7ca0fda816f9282237bb86829d (diff)
parent7996a3d79d55b7f879dfd62e202bbfe2963718d3 (diff)
Merge branch 'upstream-merged'
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__ */