]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/pci/hotplug/shpchp_core.c
[PATCH] shpchp: fix improper mmio mapping
[mv-sheeva.git] / drivers / pci / hotplug / shpchp_core.c
index 63628e01dd436edefa8e0fe8dda89b503e97f7eb..d81f8a75b495d2545169911fc2c798d8d1a467ce 100644 (file)
@@ -377,8 +377,6 @@ static int shpc_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
                goto err_out_free_ctrl;
        }
 
-       ctrl->pci_dev = pdev;  /* pci_dev of the P2P bridge */
-
        pci_set_drvdata(pdev, ctrl);
 
        ctrl->pci_bus = kmalloc (sizeof (*ctrl->pci_bus), GFP_KERNEL);