summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorWang Chen <wangchen@cn.fujitsu.com>2008-06-26 10:50:04 +0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-27 13:06:54 -0700
commit9433f6dd3a4677e9b92c6e1cd7f98b11598b7c2c (patch)
treeb3e631ee9af274de25fc61affc21f525f81c01d9 /include/linux/pci.h
parentb97089400d44b9e90ce5029a2e458cd087473c74 (diff)
downloadlinux-9433f6dd3a4677e9b92c6e1cd7f98b11598b7c2c.tar.gz
linux-9433f6dd3a4677e9b92c6e1cd7f98b11598b7c2c.tar.bz2
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/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 {
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 */
};
/* ---------------------------------------------------------------- */