summaryrefslogtreecommitdiffstats
path: root/include/partition.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/partition.h')
-rw-r--r--include/partition.h14
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 */