summaryrefslogtreecommitdiffstats
path: root/include/driver.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-06-28 10:21:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-07-05 13:00:02 +0200
commitacc46ca4f0e1332fb5dd47f4c24b4f71bdb99df5 (patch)
tree1461f8fef2a9f81c2dd1cbf0802d7fc1554a29fe /include/driver.h
parenta33bc77bddf4b01b42383b65ce97f51465d51a00 (diff)
downloadbarebox-acc46ca4f0e1332fb5dd47f4c24b4f71bdb99df5.tar.gz
barebox-acc46ca4f0e1332fb5dd47f4c24b4f71bdb99df5.tar.xz
add partition mtd support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/driver.h')
-rw-r--r--include/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h
index 6950c02047..ae3e7774b1 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -307,6 +307,7 @@ struct cdev {
size_t size;
unsigned int flags;
int open;
+ struct mtd_info *mtd;
};
int devfs_create(struct cdev *);