source: svn/trunk/newcon3bcm2_21bu/toolchain/mipsel-linux-uclibc/include/linux/mtd/gen_probe.h

Last change on this file was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 524 bytes
Line 
1/*
2 * (C) 2001, 2001 Red Hat, Inc.
3 * GPL'd
4 */
5
6#ifndef __LINUX_MTD_GEN_PROBE_H__
7#define __LINUX_MTD_GEN_PROBE_H__
8
9#include <asm/types.h>
10
11#include <linux/mtd/flashchip.h>
12#include <linux/mtd/map.h>
13#include <linux/mtd/cfi.h>
14#include <linux/bitops.h>
15
16struct chip_probe {
17        char *name;
18        int (*probe_chip)(struct map_info *map, __u32 base,
19                          unsigned long *chip_map, struct cfi_private *cfi);
20};
21
22struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp);
23
24#endif /* __LINUX_MTD_GEN_PROBE_H__ */
Note: See TracBrowser for help on using the repository browser.