summaryrefslogtreecommitdiffstats
path: root/include/partition.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:53 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:53 +0200
commit149b402f3b86ecfd9c2f273e9a9633ffb7e32a8f (patch)
tree3c5f5141ec3fde13e3b00e966379025eafce10e9 /include/partition.h
parent50f42153cbd0f7a70e165a3644873d311d3ec3d7 (diff)
downloadbarebox-149b402f3b86ecfd9c2f273e9a9633ffb7e32a8f.tar.gz
barebox-149b402f3b86ecfd9c2f273e9a9633ffb7e32a8f.tar.xz
svn_rev_436
Diffstat (limited to 'include/partition.h')
-rw-r--r--include/partition.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/partition.h b/include/partition.h
index e76c6415c9..524bfe95f3 100644
--- a/include/partition.h
+++ b/include/partition.h
@@ -8,11 +8,15 @@ struct partition {
unsigned long offset;
- struct device_d *parent;
+ struct device_d *physdev;
struct device_d device;
char name[16];
};
+struct device_d *dev_add_partition(struct device_d *dev, unsigned long offset,
+ size_t size, char *name);
+/* FIXME: counterpart missing */
+
#endif /* __PARTITION_H */