diff options
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 73250d01c01f..68a95358013d 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -44,7 +44,6 @@ struct device; | |||
44 | struct device_driver; | 44 | struct device_driver; |
45 | struct class; | 45 | struct class; |
46 | struct class_device; | 46 | struct class_device; |
47 | struct class_simple; | ||
48 | 47 | ||
49 | struct bus_type { | 48 | struct bus_type { |
50 | const char * name; | 49 | const char * name; |
@@ -254,15 +253,6 @@ extern struct class_device *class_device_create(struct class *cls, dev_t devt, | |||
254 | __attribute__((format(printf,4,5))); | 253 | __attribute__((format(printf,4,5))); |
255 | extern void class_device_destroy(struct class *cls, dev_t devt); | 254 | extern void class_device_destroy(struct class *cls, dev_t devt); |
256 | 255 | ||
257 | /* interface for class simple stuff */ | ||
258 | extern struct class_simple *class_simple_create(struct module *owner, char *name); | ||
259 | extern void class_simple_destroy(struct class_simple *cs); | ||
260 | extern struct class_device *class_simple_device_add(struct class_simple *cs, dev_t dev, struct device *device, const char *fmt, ...) | ||
261 | __attribute__((format(printf,4,5))); | ||
262 | extern int class_simple_set_hotplug(struct class_simple *, | ||
263 | int (*hotplug)(struct class_device *dev, char **envp, int num_envp, char *buffer, int buffer_size)); | ||
264 | extern void class_simple_device_remove(dev_t dev); | ||
265 | |||
266 | 256 | ||
267 | struct device { | 257 | struct device { |
268 | struct list_head node; /* node in sibling list */ | 258 | struct list_head node; /* node in sibling list */ |