#include <linux/kernel.h>
#include <linux/mtd/rawnand.h>
#include <linux/module.h>
#include <linux/sizes.h>
#include "sm_common.h"
static int oob_sm_ooblayout_ecc(struct mtd_info *mtd, int section,
struct mtd_oob_region *oobregion)
{ … }
static int oob_sm_ooblayout_free(struct mtd_info *mtd, int section,
struct mtd_oob_region *oobregion)
{ … }
static const struct mtd_ooblayout_ops oob_sm_ops = …;
static int oob_sm_small_ooblayout_ecc(struct mtd_info *mtd, int section,
struct mtd_oob_region *oobregion)
{ … }
static int oob_sm_small_ooblayout_free(struct mtd_info *mtd, int section,
struct mtd_oob_region *oobregion)
{ … }
static const struct mtd_ooblayout_ops oob_sm_small_ops = …;
static int sm_block_markbad(struct nand_chip *chip, loff_t ofs)
{ … }
static struct nand_flash_dev nand_smartmedia_flash_ids[] = …;
static struct nand_flash_dev nand_xd_flash_ids[] = …;
static int sm_attach_chip(struct nand_chip *chip)
{ … }
static const struct nand_controller_ops sm_controller_ops = …;
int sm_register_device(struct mtd_info *mtd, int smartmedia)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;