aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h10
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;
44struct device_driver; 44struct device_driver;
45struct class; 45struct class;
46struct class_device; 46struct class_device;
47struct class_simple;
48 47
49struct bus_type { 48struct 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)));
255extern void class_device_destroy(struct class *cls, dev_t devt); 254extern void class_device_destroy(struct class *cls, dev_t devt);
256 255
257/* interface for class simple stuff */
258extern struct class_simple *class_simple_create(struct module *owner, char *name);
259extern void class_simple_destroy(struct class_simple *cs);
260extern 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)));
262extern 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));
264extern void class_simple_device_remove(dev_t dev);
265
266 256
267struct device { 257struct device {
268 struct list_head node; /* node in sibling list */ 258 struct list_head node; /* node in sibling list */