summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWang Chen <wangchen@cn.fujitsu.com>2008-06-26 04:50:04 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-27 22:06:54 +0200
commit9433f6dd3a4677e9b92c6e1cd7f98b11598b7c2c (patch)
treeb3e631ee9af274de25fc61affc21f525f81c01d9 /include
parentpciehp: use get_service_data (diff)
downloadlinux-9433f6dd3a4677e9b92c6e1cd7f98b11598b7c2c.tar.xz
linux-9433f6dd3a4677e9b92c6e1cd7f98b11598b7c2c.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index f1f73f79a180..76c9a4a96152 100644
--- a/include/linux/pci.h
+++ b/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 */
};
/* ---------------------------------------------------------------- */