Explorar o código

PCI: Fix comment of pci_dynids

struct pci_driver has no field of driver_data.
It's in pci_device_id.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Wang Chen %!s(int64=17) %!d(string=hai) anos
pai
achega
9433f6dd3a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/linux/pci.h

+ 1 - 1
include/linux/pci.h

@@ -338,7 +338,7 @@ struct pci_bus_region {
 struct pci_dynids {
 	spinlock_t lock;            /* protects list, index */
 	struct list_head list;      /* for IDs added at runtime */
-	unsigned int use_driver_data:1; /* pci_driver->driver_data is used */
+	unsigned int use_driver_data:1; /* pci_device_id->driver_data is used */
 };
 
 /* ---------------------------------------------------------------- */