diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-04-22 23:39:27 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-07-21 16:41:44 +0200 |
commit | a2b7cd183bad9c9e0888ce62f5ae0f83c070cc2a (patch) | |
tree | 556535cae729eac244edff816476cab281c6be7b /include/partition.h | |
parent | 6411c3b2be40bb295520db2e9f6f891873a48b1a (diff) | |
download | barebox-a2b7cd183bad9c9e0888ce62f5ae0f83c070cc2a.tar.gz barebox-a2b7cd183bad9c9e0888ce62f5ae0f83c070cc2a.tar.xz |
introduce cdev
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/partition.h')
-rw-r--r-- | include/partition.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/partition.h b/include/partition.h index cdf6368fd4..4eac8de86b 100644 --- a/include/partition.h +++ b/include/partition.h @@ -17,20 +17,8 @@ struct partition { struct device_d device; char name[16]; + struct cdev cdev; }; -#ifdef CONFIG_PARTITION -struct device_d *dev_add_partition(struct device_d *dev, unsigned long offset, - size_t size, int flags, const char *name); -#else -static inline struct device_d *dev_add_partition(struct device_d *dev, - unsigned long offset, size_t size, int flags, - const char *name) -{ - return 0; -} -#endif -/* FIXME: counterpart missing */ - #endif /* __PARTITION_H */ |