summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/nj_u.c
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2010-01-18 17:24:10 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-02-23 01:17:01 +0100
commit41a68a748bbc61f5bcea999e33ba72926dfbe6f7 (patch)
treed6b100c49d847270c235a9788b0bebb9372bcec9 /drivers/isdn/hisax/nj_u.c
parentPCI: don't dump resource when bus resource flags indicates unused (diff)
downloadlinux-41a68a748bbc61f5bcea999e33ba72926dfbe6f7.tar.xz
linux-41a68a748bbc61f5bcea999e33ba72926dfbe6f7.zip
PCI: push deprecated pci_find_device() function to last user
The ISDN4Linux HiSax driver family contains the last remaining users of the deprecated pci_find_device() function. This patch creates a private copy of that function in HiSax, and removes the now unused global function together with its controlling configuration option, CONFIG_PCI_LEGACY. Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/isdn/hisax/nj_u.c')
-rw-r--r--drivers/isdn/hisax/nj_u.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/nj_u.c b/drivers/isdn/hisax/nj_u.c
index d306c946ffba..095e974aed80 100644
--- a/drivers/isdn/hisax/nj_u.c
+++ b/drivers/isdn/hisax/nj_u.c
@@ -240,7 +240,7 @@ setup_netjet_u(struct IsdnCard *card)
for ( ;; )
{
- if ((dev_netjet = pci_find_device(PCI_VENDOR_ID_TIGERJET,
+ if ((dev_netjet = hisax_find_pci_device(PCI_VENDOR_ID_TIGERJET,
PCI_DEVICE_ID_TIGERJET_300, dev_netjet))) {
ret = nju_pci_probe(dev_netjet, cs);
if (!ret)