summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2003-06-03 02:19:54 -0700
committerPatrick Mochel <mochel@osdl.org>2003-06-03 02:19:54 -0700
commit98c23bfa66be6466c6236449f71d97f1e2efddc6 (patch)
tree8a9c7d07187e0831bb0c6f5426f32002230ac40f /include/linux
parente3dc27eeb76f41ea45a9ff39612ef999961f9a43 (diff)
[driver model] Update copyrights and license statements.
It's a slow afternoon.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/device.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 441ab49ffa0b..b73a9555bcb1 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -3,21 +3,9 @@
*
* Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
*
- * This is a relatively simple centralized driver model.
- * The data structures were mainly lifted directly from the PCI
- * driver model. These are thought to be the common fields that
- * are relevant to all device buses.
+ * This file is released under the GPLv2
*
- * All the devices are arranged in a tree. All devices should
- * have some sort of parent bus of whom they are children of.
- * Devices should not be direct children of the system root.
- *
- * Device drivers should not directly call the device_* routines
- * or access the contents of struct device directly. Instead,
- * abstract that from the drivers and write bus-specific wrappers
- * that do it for you.
- *
- * See Documentation/driver-model.txt for more information.
+ * See Documentation/driver-model/*.txt for more information.
*/
#ifndef _DEVICE_H_
@@ -169,6 +157,8 @@ struct class {
int (*hotplug)(struct class_device *dev, char **envp,
int num_envp, char *buffer, int buffer_size);
+
+ void (*release)(struct class_device *dev);
};
extern int class_register(struct class *);