Commit 9433f6dd authored by Wang Chen's avatar Wang Chen Committed by Jesse Barnes

PCI: Fix comment of pci_dynids

struct pci_driver has no field of driver_data.
It's in pci_device_id.
Signed-off-by: default avatarWang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent b9708940
...@@ -338,7 +338,7 @@ struct pci_bus_region { ...@@ -338,7 +338,7 @@ struct pci_bus_region {
struct pci_dynids { struct pci_dynids {
spinlock_t lock; /* protects list, index */ spinlock_t lock; /* protects list, index */
struct list_head list; /* for IDs added at runtime */ 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 */
}; };
/* ---------------------------------------------------------------- */ /* ---------------------------------------------------------------- */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment