diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2008-06-26 13:06:24 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-27 22:01:14 +0200 |
commit | b97089400d44b9e90ce5029a2e458cd087473c74 (patch) | |
tree | cefbe4ac45ad92ae757120010173bdaa737c56bf /drivers/pci/hotplug/pcihp_skeleton.c | |
parent | pciehp: remove needless command completed interrupt setting (diff) | |
download | linux-b97089400d44b9e90ce5029a2e458cd087473c74.tar.xz linux-b97089400d44b9e90ce5029a2e458cd087473c74.zip |
pciehp: use get_service_data
Current pciehp driver saves its private data pointer into pci_dev
structure using pci_set_drvdata()/pci_get_drvdata(). But because
pciehp is not a pci device driver but a PCI Express service driver, it
should save its private data pointer into pcie_device structure using
set_service_data()/get_service_data().
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/pcihp_skeleton.c')
0 files changed, 0 insertions, 0 deletions