diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-30 15:28:08 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-31 18:41:41 +0200 |
commit | dbcd47c17bc8e968ab97602de9cd44397b0c118c (patch) | |
tree | e66fd551d59638f3c6cc6b406df7c13e460f20ac /include | |
parent | b1c50f474d9b49eec19ae1c6f432a9570b9c0699 (diff) | |
download | barebox-dbcd47c17bc8e968ab97602de9cd44397b0c118c.tar.gz barebox-dbcd47c17bc8e968ab97602de9cd44397b0c118c.tar.xz |
cdev: Collect partitions on list
We currently do not have a way to iterate over all partitions of
a cdev. Change this.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/driver.h b/include/driver.h index 6abaaad8b4..b7eaf290c4 100644 --- a/include/driver.h +++ b/include/driver.h @@ -459,6 +459,7 @@ struct cdev { u8 dos_partition_type; struct cdev *link; struct list_head link_entry, links; + struct list_head partition_entry, partitions; }; int devfs_create(struct cdev *); |