#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/kmod.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/mtd/map.h>
#include <linux/mtd/mtd.h>
static DEFINE_SPINLOCK(chip_drvs_lock);
static LIST_HEAD(chip_drvs_list);
void register_mtd_chip_driver(struct mtd_chip_driver *drv)
{ … }
void unregister_mtd_chip_driver(struct mtd_chip_driver *drv)
{ … }
static struct mtd_chip_driver *get_mtd_chip_driver (const char *name)
{ … }
struct mtd_info *do_map_probe(const char *name, struct map_info *map)
{ … }
void map_destroy(struct mtd_info *mtd)
{ … }
EXPORT_SYMBOL(…);
EXPORT_SYMBOL(…);
EXPORT_SYMBOL(…);
EXPORT_SYMBOL(…);
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;