diff options
Diffstat (limited to 'include/linux/mdev.h')
-rw-r--r-- | include/linux/mdev.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/include/linux/mdev.h b/include/linux/mdev.h index 853bb78e5866..f586222b6c25 100644 --- a/include/linux/mdev.h +++ b/include/linux/mdev.h | |||
@@ -13,19 +13,6 @@ | |||
13 | #ifndef MDEV_H | 13 | #ifndef MDEV_H |
14 | #define MDEV_H | 14 | #define MDEV_H |
15 | 15 | ||
16 | /* Parent device */ | ||
17 | struct mdev_parent { | ||
18 | struct device *dev; | ||
19 | const struct mdev_parent_ops *ops; | ||
20 | |||
21 | /* internal */ | ||
22 | struct kref ref; | ||
23 | struct mutex lock; | ||
24 | struct list_head next; | ||
25 | struct kset *mdev_types_kset; | ||
26 | struct list_head type_list; | ||
27 | }; | ||
28 | |||
29 | /* Mediated device */ | 16 | /* Mediated device */ |
30 | struct mdev_device { | 17 | struct mdev_device { |
31 | struct device dev; | 18 | struct device dev; |
@@ -165,4 +152,6 @@ extern void mdev_unregister_device(struct device *dev); | |||
165 | extern int mdev_register_driver(struct mdev_driver *drv, struct module *owner); | 152 | extern int mdev_register_driver(struct mdev_driver *drv, struct module *owner); |
166 | extern void mdev_unregister_driver(struct mdev_driver *drv); | 153 | extern void mdev_unregister_driver(struct mdev_driver *drv); |
167 | 154 | ||
155 | extern struct device *mdev_parent_dev(struct mdev_device *mdev); | ||
156 | |||
168 | #endif /* MDEV_H */ | 157 | #endif /* MDEV_H */ |