提交 d758a8fa 编写于 作者: R Randy Dunlap 提交者: Len Brown

[ACPI] fix kernel-doc warnings in acpi/scan.c

Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 add5b5ee
...@@ -369,6 +369,7 @@ X!Edrivers/acpi/motherboard.c ...@@ -369,6 +369,7 @@ X!Edrivers/acpi/motherboard.c
X!Edrivers/acpi/bus.c X!Edrivers/acpi/bus.c
--> -->
!Edrivers/acpi/scan.c !Edrivers/acpi/scan.c
!Idrivers/acpi/scan.c
<!-- No correct structured comments <!-- No correct structured comments
X!Edrivers/acpi/pci_bind.c X!Edrivers/acpi/pci_bind.c
--> -->
......
...@@ -475,8 +475,10 @@ static LIST_HEAD(acpi_bus_drivers); ...@@ -475,8 +475,10 @@ static LIST_HEAD(acpi_bus_drivers);
static DECLARE_MUTEX(acpi_bus_drivers_lock); static DECLARE_MUTEX(acpi_bus_drivers_lock);
/** /**
* acpi_bus_match * acpi_bus_match - match device IDs to driver's supported IDs
* -------------- * @device: the device that we are trying to match to a driver
* @driver: driver whose device id table is being checked
*
* Checks the device's hardware (_HID) or compatible (_CID) ids to see if it * Checks the device's hardware (_HID) or compatible (_CID) ids to see if it
* matches the specified driver's criteria. * matches the specified driver's criteria.
*/ */
...@@ -489,8 +491,10 @@ acpi_bus_match(struct acpi_device *device, struct acpi_driver *driver) ...@@ -489,8 +491,10 @@ acpi_bus_match(struct acpi_device *device, struct acpi_driver *driver)
} }
/** /**
* acpi_bus_driver_init * acpi_bus_driver_init - add a device to a driver
* -------------------- * @device: the device to add and initialize
* @driver: driver for the device
*
* Used to initialize a device via its device driver. Called whenever a * Used to initialize a device via its device driver. Called whenever a
* driver is bound to a device. Invokes the driver's add() and start() ops. * driver is bound to a device. Invokes the driver's add() and start() ops.
*/ */
...@@ -603,8 +607,9 @@ static int acpi_driver_detach(struct acpi_driver *drv) ...@@ -603,8 +607,9 @@ static int acpi_driver_detach(struct acpi_driver *drv)
} }
/** /**
* acpi_bus_register_driver * acpi_bus_register_driver - register a driver with the ACPI bus
* ------------------------ * @driver: driver being registered
*
* Registers a driver with the ACPI bus. Searches the namespace for all * Registers a driver with the ACPI bus. Searches the namespace for all
* devices that match the driver's criteria and binds. Returns the * devices that match the driver's criteria and binds. Returns the
* number of devices that were claimed by the driver, or a negative * number of devices that were claimed by the driver, or a negative
...@@ -633,8 +638,9 @@ int acpi_bus_register_driver(struct acpi_driver *driver) ...@@ -633,8 +638,9 @@ int acpi_bus_register_driver(struct acpi_driver *driver)
EXPORT_SYMBOL(acpi_bus_register_driver); EXPORT_SYMBOL(acpi_bus_register_driver);
/** /**
* acpi_bus_unregister_driver * acpi_bus_unregister_driver - unregisters a driver with the APIC bus
* -------------------------- * @driver: driver to unregister
*
* Unregisters a driver with the ACPI bus. Searches the namespace for all * Unregisters a driver with the ACPI bus. Searches the namespace for all
* devices that match the driver's criteria and unbinds. * devices that match the driver's criteria and unbinds.
*/ */
...@@ -660,8 +666,9 @@ int acpi_bus_unregister_driver(struct acpi_driver *driver) ...@@ -660,8 +666,9 @@ int acpi_bus_unregister_driver(struct acpi_driver *driver)
EXPORT_SYMBOL(acpi_bus_unregister_driver); EXPORT_SYMBOL(acpi_bus_unregister_driver);
/** /**
* acpi_bus_find_driver * acpi_bus_find_driver - check if there is a driver installed for the device
* -------------------- * @device: device that we are trying to find a supporting driver for
*
* Parses the list of registered drivers looking for a driver applicable for * Parses the list of registered drivers looking for a driver applicable for
* the specified device. * the specified device.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册