···11+/*22+ * SharpSL NAND support33+ *44+ * Copyright (C) 2008 Dmitry Baryshkov55+ *66+ * This program is free software; you can redistribute it and/or modify77+ * it under the terms of the GNU General Public License version 2 as88+ * published by the Free Software Foundation.99+ */1010+1111+#include <linux/mtd/nand.h>1212+#include <linux/mtd/nand_ecc.h>1313+#include <linux/mtd/partitions.h>1414+1515+struct sharpsl_nand_platform_data {1616+ struct nand_bbt_descr *badblock_pattern;1717+ struct nand_ecclayout *ecc_layout;1818+ struct mtd_partition *partitions;1919+ unsigned int nr_partitions;2020+};