slub: fix a possible memleak in __slab_alloc()
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / mtd / sharpsl.h
blob25f4d2a845c1a95f81185be9d12a2c4a540f21bd
1 /*
2 * SharpSL NAND support
4 * Copyright (C) 2008 Dmitry Baryshkov
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #include <linux/mtd/nand.h>
12 #include <linux/mtd/nand_ecc.h>
13 #include <linux/mtd/partitions.h>
15 struct sharpsl_nand_platform_data {
16 struct nand_bbt_descr *badblock_pattern;
17 struct nand_ecclayout *ecc_layout;
18 struct mtd_partition *partitions;
19 unsigned int nr_partitions;