diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-02 14:24:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-02 14:24:44 -0500 |
commit | bd1d462e13b278fc57752d0b9b15040e60e561a0 (patch) | |
tree | e2fdf1c18a93aab02830bcb8a5db8cdddfbb63a8 /include/linux/device.h | |
parent | d5c38b137ac8a6e3dbed13bc494d60df5b69dfc4 (diff) | |
parent | 62aa2b537c6f5957afd98e29f96897419ed5ebab (diff) |
Merge 3.3-rc2 into the driver-core-next branch.
This was done to resolve a merge and build problem with the
drivers/acpi/processor_driver.c file.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
-rw-r--r-- | include/linux/device.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index d28bd8295677..f62e21689fdd 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -277,11 +277,11 @@ struct device *driver_find_device(struct device_driver *drv, | |||
277 | 277 | ||
278 | /** | 278 | /** |
279 | * struct subsys_interface - interfaces to device functions | 279 | * struct subsys_interface - interfaces to device functions |
280 | * @name name of the device function | 280 | * @name: name of the device function |
281 | * @subsystem subsytem of the devices to attach to | 281 | * @subsys: subsytem of the devices to attach to |
282 | * @node the list of functions registered at the subsystem | 282 | * @node: the list of functions registered at the subsystem |
283 | * @add device hookup to device function handler | 283 | * @add_dev: device hookup to device function handler |
284 | * @remove device hookup to device function handler | 284 | * @remove_dev: device hookup to device function handler |
285 | * | 285 | * |
286 | * Simple interfaces attached to a subsystem. Multiple interfaces can | 286 | * Simple interfaces attached to a subsystem. Multiple interfaces can |
287 | * attach to a subsystem and its devices. Unlike drivers, they do not | 287 | * attach to a subsystem and its devices. Unlike drivers, they do not |
@@ -610,6 +610,7 @@ struct device_dma_parameters { | |||
610 | * @archdata: For arch-specific additions. | 610 | * @archdata: For arch-specific additions. |
611 | * @of_node: Associated device tree node. | 611 | * @of_node: Associated device tree node. |
612 | * @devt: For creating the sysfs "dev". | 612 | * @devt: For creating the sysfs "dev". |
613 | * @id: device instance | ||
613 | * @devres_lock: Spinlock to protect the resource of the device. | 614 | * @devres_lock: Spinlock to protect the resource of the device. |
614 | * @devres_head: The resources list of the device. | 615 | * @devres_head: The resources list of the device. |
615 | * @knode_class: The node used to add the device to the class list. | 616 | * @knode_class: The node used to add the device to the class list. |
@@ -1001,6 +1002,10 @@ extern long sysfs_deprecated; | |||
1001 | * Each module may only use this macro once, and calling it replaces | 1002 | * Each module may only use this macro once, and calling it replaces |
1002 | * module_init() and module_exit(). | 1003 | * module_init() and module_exit(). |
1003 | * | 1004 | * |
1005 | * @__driver: driver name | ||
1006 | * @__register: register function for this driver type | ||
1007 | * @__unregister: unregister function for this driver type | ||
1008 | * | ||
1004 | * Use this macro to construct bus specific macros for registering | 1009 | * Use this macro to construct bus specific macros for registering |
1005 | * drivers, and do not use it on its own. | 1010 | * drivers, and do not use it on its own. |
1006 | */ | 1011 | */ |