From 7996a3d79d55b7f879dfd62e202bbfe2963718d3 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 27 Jul 2013 22:15:01 +0000 Subject: really properly move files --- .../contrib/include/linux/mtd/gen_probe.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 libdde-linux26/contrib/include/linux/mtd/gen_probe.h (limited to 'libdde-linux26/contrib/include/linux/mtd/gen_probe.h') 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 +#include +#include +#include + +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__ */ -- cgit v1.2.3