summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-04-06 22:04:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-04-11 08:33:47 +0200
commit8137126d1b43392543643e208c70555ddd266351 (patch)
tree63ff4a8431efd720f3a05e0af112958e4e9e0935 /include
parent68d69b43ea77eac93ac382107a011617a6ef09b1 (diff)
downloadbarebox-8137126d1b43392543643e208c70555ddd266351.tar.gz
barebox-8137126d1b43392543643e208c70555ddd266351.tar.xz
mtd: nand: use dev_add_param_enum
dev_add_param_enum allows to pass a priv * so that the device_d * argument is not needed and can be removed later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/nand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 66c936ee70..27538c3f42 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -540,6 +540,7 @@ struct nand_chip {
struct nand_bbt_descr *badblock_pattern;
void *priv;
+ unsigned int bbt_type;
};
/*