aboutsummaryrefslogtreecommitdiff
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
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>
-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 f1f73f79a18..76c9a4a9615 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 */
};
/* ---------------------------------------------------------------- */