From 98c23bfa66be6466c6236449f71d97f1e2efddc6 Mon Sep 17 00:00:00 2001 From: Patrick Mochel Date: Tue, 3 Jun 2003 02:19:54 -0700 Subject: [driver model] Update copyrights and license statements. It's a slow afternoon. --- include/linux/device.h | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'include/linux/device.h') 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 * - * 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 *); -- cgit v1.2.3