diff options
Diffstat (limited to 'drivers/pci/pci-driver.c')
-rw-r--r-- | drivers/pci/pci-driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index a13f53486114..4940a53c56a3 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c | |||
@@ -65,8 +65,7 @@ store_new_id(struct device_driver *driver, const char *buf, size_t count) | |||
65 | dynid->id.subdevice = subdevice; | 65 | dynid->id.subdevice = subdevice; |
66 | dynid->id.class = class; | 66 | dynid->id.class = class; |
67 | dynid->id.class_mask = class_mask; | 67 | dynid->id.class_mask = class_mask; |
68 | dynid->id.driver_data = pdrv->dynids.use_driver_data ? | 68 | dynid->id.driver_data = driver_data; |
69 | driver_data : 0UL; | ||
70 | 69 | ||
71 | spin_lock(&pdrv->dynids.lock); | 70 | spin_lock(&pdrv->dynids.lock); |
72 | list_add_tail(&dynid->node, &pdrv->dynids.list); | 71 | list_add_tail(&dynid->node, &pdrv->dynids.list); |