[PATCH] pci: Fix comment of pci_dynids

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



struct pci_device has no field of driver_data.
It's in pci_device_id.

Signed-off-by: Wang Chen <wangchen@xxxxxxxxxxxxxx>
---
diff --git a/include/linux/pci.h b/include/linux/pci.h
index d18b1dd..2370606 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -328,7 +328,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 */
 };
 
 /* ---------------------------------------------------------------- */

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux