Commit 6c98cb96 authored by David S. Miller's avatar David S. Miller

[B44]: Fix remaining iomem warnings.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a251cf6a
...@@ -1837,7 +1837,7 @@ static int __devinit b44_init_one(struct pci_dev *pdev, ...@@ -1837,7 +1837,7 @@ static int __devinit b44_init_one(struct pci_dev *pdev,
return 0; return 0;
err_out_iounmap: err_out_iounmap:
iounmap((void *) bp->regs); iounmap(bp->regs);
err_out_free_dev: err_out_free_dev:
free_netdev(dev); free_netdev(dev);
...@@ -1859,7 +1859,7 @@ static void __devexit b44_remove_one(struct pci_dev *pdev) ...@@ -1859,7 +1859,7 @@ static void __devexit b44_remove_one(struct pci_dev *pdev)
struct b44 *bp = netdev_priv(dev); struct b44 *bp = netdev_priv(dev);
unregister_netdev(dev); unregister_netdev(dev);
iounmap((void *) bp->regs); iounmap(bp->regs);
free_netdev(dev); free_netdev(dev);
pci_release_regions(pdev); pci_release_regions(pdev);
pci_disable_device(pdev); pci_disable_device(pdev);
......
...@@ -527,7 +527,7 @@ struct b44 { ...@@ -527,7 +527,7 @@ struct b44 {
struct net_device_stats stats; struct net_device_stats stats;
struct b44_hw_stats hw_stats; struct b44_hw_stats hw_stats;
volatile void __iomem *regs; void __iomem *regs;
struct pci_dev *pdev; struct pci_dev *pdev;
struct net_device *dev; struct net_device *dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment