aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorWang Chen <wangchen@cn.fujitsu.com>2008-06-25 22:50:04 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-27 16:06:54 -0400
commit9433f6dd3a4677e9b92c6e1cd7f98b11598b7c2c (patch)
treeb3e631ee9af274de25fc61affc21f525f81c01d9 /include/linux/pci.h
parentb97089400d44b9e90ce5029a2e458cd087473c74 (diff)
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/linux/pci.h')
-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 {
338struct pci_dynids { 338struct pci_dynids {
339 spinlock_t lock; /* protects list, index */ 339 spinlock_t lock; /* protects list, index */
340 struct list_head list; /* for IDs added at runtime */ 340 struct list_head list; /* for IDs added at runtime */
341 unsigned int use_driver_data:1; /* pci_driver->driver_data is used */ 341 unsigned int use_driver_data:1; /* pci_device_id->driver_data is used */
342}; 342};
343 343
344/* ---------------------------------------------------------------- */ 344/* ---------------------------------------------------------------- */