Commit 742bc1e9 authored by Jaco Hofmann's avatar Jaco Hofmann Committed by Jaco A. Hofmann
Browse files

Properly handle remove call of PCIe devices

(cherry picked from commit e216d9577b3930742171ac182a21759dfc7a71cb)
parent 70fece6f
......@@ -195,6 +195,11 @@ int tlkm_pcie_probe(struct pci_dev *pdev, const struct pci_device_id *id)
void tlkm_pcie_remove(struct pci_dev *pdev)
struct tlkm_pcie_device *dev = (struct tlkm_pcie_device *)dev_get_drvdata(&pdev->dev);
LOG(TLKM_LF_PCIE, "removing TaPaSCo PCIe device ...");
if(dev) {
int pcie_device_create(struct tlkm_device *dev, void *data)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment