/* * SharpSL NAND support * * Copyright (C) 2008 Dmitry Baryshkov * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#include <linux/mtd/nand.h>#include <linux/mtd/nand_ecc.h>#include <linux/mtd/partitions.h>structsharpsl_nand_platform_data{structnand_bbt_descr*badblock_pattern;structnand_ecclayout*ecc_layout;structmtd_partition*partitions;unsignedintnr_partitions;};