summaryrefslogtreecommitdiffstats
path: root/linux-2.4.x/include/linux/mtd/gen_probe.h
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2011-02-26 14:57:47 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2011-02-26 14:57:47 (GMT)
commitfaadb245e8e1d5c4245dbdacc201e85b47c0c1fb (patch)
tree725f1ac685590a82aa182776c0af40e6243cb8e6 /linux-2.4.x/include/linux/mtd/gen_probe.h
parentedb45850f53478c7779484105c30f8df0a3a3782 (diff)
downloadopenipcam-faadb245e8e1d5c4245dbdacc201e85b47c0c1fb.zip
openipcam-faadb245e8e1d5c4245dbdacc201e85b47c0c1fb.tar.gz
openipcam-faadb245e8e1d5c4245dbdacc201e85b47c0c1fb.tar.bz2
Applied mtd patches and updated lib/Config.lib to 2.6.24 +mtd
Diffstat (limited to 'linux-2.4.x/include/linux/mtd/gen_probe.h')
-rw-r--r--linux-2.4.x/include/linux/mtd/gen_probe.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux-2.4.x/include/linux/mtd/gen_probe.h b/linux-2.4.x/include/linux/mtd/gen_probe.h
index 43c3a08..256e734 100644
--- a/linux-2.4.x/include/linux/mtd/gen_probe.h
+++ b/linux-2.4.x/include/linux/mtd/gen_probe.h
@@ -1,21 +1,21 @@
/*
* (C) 2001, 2001 Red Hat, Inc.
* GPL'd
- * $Id: gen_probe.h,v 1.1 2001/09/02 18:50:13 dwmw2 Exp $
+ * $Id: gen_probe.h,v 1.4 2005/11/07 11:14:54 gleixner Exp $
*/
#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/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,
- struct flchip *chips, struct cfi_private *cfi);
-
+ unsigned long *chip_map, struct cfi_private *cfi);
};
struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp);