diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2005-11-24 11:36:59 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 12:13:17 -0800 |
commit | 0455986cce45d28511f59a29d6cecc17d6b65720 (patch) | |
tree | 1819f13fdaee29489090a92b683faebff6651ea7 /drivers/pci/hotplug/shpchp_core.c | |
parent | 87d6c5593111844f308af7d5106b3fd259b36514 (diff) | |
download | kernel_samsung_smdk4412-0455986cce45d28511f59a29d6cecc17d6b65720.zip kernel_samsung_smdk4412-0455986cce45d28511f59a29d6cecc17d6b65720.tar.gz kernel_samsung_smdk4412-0455986cce45d28511f59a29d6cecc17d6b65720.tar.bz2 |
[PATCH] shpchp: fix improper mmio mapping
Current SHPCHP driver seems not to map MMIO region properly. This
patch fixes this bug. This patch also cleanup the code.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchp_core.c')
-rw-r--r-- | drivers/pci/hotplug/shpchp_core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/shpchp_core.c b/drivers/pci/hotplug/shpchp_core.c index 63628e0..d81f8a7 100644 --- a/drivers/pci/hotplug/shpchp_core.c +++ b/drivers/pci/hotplug/shpchp_core.c @@ -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); |