summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-04-06 22:04:35 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-04-11 08:33:47 +0200
commitaa340d3cf18c1dbf2b2f19d41e7436d97a62f517 (patch)
tree25ceb00d5cbb07b7e93952a6c6e0a577024c6c05 /include
parent8137126d1b43392543643e208c70555ddd266351 (diff)
downloadbarebox-aa340d3cf18c1dbf2b2f19d41e7436d97a62f517.tar.gz
barebox-aa340d3cf18c1dbf2b2f19d41e7436d97a62f517.tar.xz
mtd: use dev_add_param_string
dev_add_param_string 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/mtd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index fa35c7ef39..16725ac4bc 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -226,6 +226,7 @@ struct mtd_info {
struct list_head partitions;
struct list_head partitions_entry;
+ char *partition_string;
char *of_path;
unsigned int of_binding;