Patchwork [v2,04/22] PCI, ACPI: Update comments for find_bridge in acpi_bus_type

login
register
mail settings
Submitter Yinghai Lu
Date Jan. 27, 2013, 5:36 a.m.
Message ID <1359265003-16166-5-git-send-email-yinghai@kernel.org>
Download mbox | patch
Permalink /patch/215946/
State Superseded
Headers show

Comments

Yinghai Lu - Jan. 27, 2013, 5:36 a.m.
only device that does not have bus_type, will go to that path...

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org
---
 include/acpi/acpi_bus.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h
index 5ce8d5e8..c499d94 100644
--- a/include/acpi/acpi_bus.h
+++ b/include/acpi/acpi_bus.h
@@ -385,7 +385,7 @@  struct acpi_bus_type {
 	struct bus_type *bus;
 	/* For general devices under the bus */
 	int (*find_device) (struct device *, acpi_handle *);
-	/* For bridges, such as PCI root bridge, IDE controller */
+	/* For bridges that does not have bus_type, such as usb_port */
 	int (*find_bridge) (struct device *, acpi_handle *);
 	void (*setup)(struct device *);
 	void (*cleanup)(struct device *);