Explorar o código

qcacld-3.0: Let compiler resolve hif_device_id type

hif_device_id type is a opaque pointer that abstracts out
some of the pci data structures.

Change-Id: Ib472490b9de26cae291f86fd0e3c05af40e6951e
CRs-Fixed: 986480
Houston Hoffman %!s(int64=9) %!d(string=hai) anos
pai
achega
ab091116bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/hdd/src/wlan_hdd_driver_ops.c

+ 1 - 1
core/hdd/src/wlan_hdd_driver_ops.c

@@ -815,7 +815,7 @@ void wlan_hdd_pci_remove(struct pci_dev *pdev)
 int wlan_hdd_pci_reinit(struct pci_dev *pdev,
 	const struct pci_device_id *id)
 {
-	return wlan_hdd_probe(&pdev->dev, pdev, id,
+	return wlan_hdd_probe(&pdev->dev, pdev, (void *)id,
 			QDF_BUS_TYPE_PCI, true);
 }