diff options
Diffstat (limited to 'drivers/net/eepro100.c')
-rw-r--r-- | drivers/net/eepro100.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/eepro100.c b/drivers/net/eepro100.c index 2ad327542927..e445988c92ee 100644 --- a/drivers/net/eepro100.c +++ b/drivers/net/eepro100.c | |||
@@ -555,12 +555,12 @@ static int __devinit eepro100_init_one (struct pci_dev *pdev, | |||
555 | 555 | ||
556 | if (!request_region(pci_resource_start(pdev, 1), | 556 | if (!request_region(pci_resource_start(pdev, 1), |
557 | pci_resource_len(pdev, 1), "eepro100")) { | 557 | pci_resource_len(pdev, 1), "eepro100")) { |
558 | printk (KERN_ERR "eepro100: cannot reserve I/O ports\n"); | 558 | dev_err(&pdev->dev, "eepro100: cannot reserve I/O ports\n"); |
559 | goto err_out_none; | 559 | goto err_out_none; |
560 | } | 560 | } |
561 | if (!request_mem_region(pci_resource_start(pdev, 0), | 561 | if (!request_mem_region(pci_resource_start(pdev, 0), |
562 | pci_resource_len(pdev, 0), "eepro100")) { | 562 | pci_resource_len(pdev, 0), "eepro100")) { |
563 | printk (KERN_ERR "eepro100: cannot reserve MMIO region\n"); | 563 | dev_err(&pdev->dev, "eepro100: cannot reserve MMIO region\n"); |
564 | goto err_out_free_pio_region; | 564 | goto err_out_free_pio_region; |
565 | } | 565 | } |
566 | 566 | ||
@@ -573,7 +573,7 @@ static int __devinit eepro100_init_one (struct pci_dev *pdev, | |||
573 | 573 | ||
574 | ioaddr = pci_iomap(pdev, pci_bar, 0); | 574 | ioaddr = pci_iomap(pdev, pci_bar, 0); |
575 | if (!ioaddr) { | 575 | if (!ioaddr) { |
576 | printk (KERN_ERR "eepro100: cannot remap IO\n"); | 576 | dev_err(&pdev->dev, "eepro100: cannot remap IO\n"); |
577 | goto err_out_free_mmio_region; | 577 | goto err_out_free_mmio_region; |
578 | } | 578 | } |
579 | 579 | ||