summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-10-16 17:25:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-17 20:16:58 +0200
commit006538e7c2c21eced61033813591e5cacf569108 (patch)
tree94cb4c75da67f87e05eb855c3fe60a7d57a6ca31 /include
parent28d294de70f3884285efdde4f021c480744ce3f8 (diff)
downloadbarebox-006538e7c2c21eced61033813591e5cacf569108.tar.gz
barebox-006538e7c2c21eced61033813591e5cacf569108.tar.xz
mtd: add parent support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/mtd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 71d3c6f49f..8114967e6b 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -200,7 +200,7 @@ struct mtd_info {
void (*put_device) (struct mtd_info *mtd);
struct device_d class_dev;
- struct device_d *dev;
+ struct device_d *parent;
struct cdev cdev;
struct param_d param_size;