diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-22 03:23:34 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-22 17:50:44 -0400 |
commit | f0084a36d4d799c024a5211555334d56c91d236d (patch) | |
tree | 94377e4a87066b7e34fee5c8d77cc93f1d4beeb4 /drivers/net/hp.c | |
parent | c7f80993a38f0354a8ad821bcd9335b47a464357 (diff) |
net 8390p: fix interface usage
various drivers were using the wrong APIs:
drivers/built-in.o: In function `hp_probe1':
hp.c:(.init.text+0xa280): undefined reference to `NS8390_init'
fixed via:
cd drivers/net/; sed -i 's/NS8390_/NS8390p_/g' \
$(grep -l NS8390_ $(grep 8390p.o Makefile | cut -d' ' -f3 | \
sed 's/.o$/.c/g'))
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/hp.c')
-rw-r--r-- | drivers/net/hp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hp.c b/drivers/net/hp.c index 8281209ededf..0a8c64930ad3 100644 --- a/drivers/net/hp.c +++ b/drivers/net/hp.c | |||
@@ -389,7 +389,7 @@ static void __init | |||
389 | hp_init_card(struct net_device *dev) | 389 | hp_init_card(struct net_device *dev) |
390 | { | 390 | { |
391 | int irq = dev->irq; | 391 | int irq = dev->irq; |
392 | NS8390_init(dev, 0); | 392 | NS8390p_init(dev, 0); |
393 | outb_p(irqmap[irq&0x0f] | HP_RUN, | 393 | outb_p(irqmap[irq&0x0f] | HP_RUN, |
394 | dev->base_addr - NIC_OFFSET + HP_CONFIGURE); | 394 | dev->base_addr - NIC_OFFSET + HP_CONFIGURE); |
395 | return; | 395 | return; |