diff options
| author | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-20 01:33:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-20 01:33:08 -0700 |
| commit | e2d8ded1e7d792311ed65705699feb2ed0675ae8 (patch) | |
| tree | 668c791fe1fb94d69ba3a4814a291c5caf9c40b4 | |
| parent | bfd6334fa4729c0e4110a4bd1b6324afcff112c4 (diff) | |
net/wan/sbni.c totally misused "pci_request_region()", thinking
it was the same as the old request_region(). Not so.
| -rw-r--r-- | drivers/net/wan/sbni.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c index 791d479b7af9..349400d4d95a 100644 --- a/drivers/net/wan/sbni.c +++ b/drivers/net/wan/sbni.c @@ -277,7 +277,7 @@ sbni_pci_probe( struct net_device *dev ) pci_irq_line = pdev->irq; /* Avoid already found cards from previous calls */ - if( !pci_request_region( pci_ioaddr, SBNI_IO_EXTENT, dev->name ) ) { + if( !request_region( pci_ioaddr, SBNI_IO_EXTENT, dev->name ) ) { pci_read_config_word( pdev, PCI_SUBSYSTEM_ID, &subsys ); if( subsys != 2 || /* Dual adapter is present */ check_region( pci_ioaddr += 4, SBNI_IO_EXTENT ) ) |
