Skip to content

Commit

Permalink
PCI: Fix comment of pci_dynids
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wang Chen authored and Jesse Barnes committed Jun 27, 2008
1 parent b970894 commit 9433f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};

/* ---------------------------------------------------------------- */
Expand Down

0 comments on commit 9433f6d

Please sign in to comment.