diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/irda/donauboe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/irda/donauboe.c b/drivers/net/irda/donauboe.c index 510b9c8d23a9..31bcb98ef356 100644 --- a/drivers/net/irda/donauboe.c +++ b/drivers/net/irda/donauboe.c | |||
@@ -1488,7 +1488,7 @@ static void | |||
1488 | toshoboe_close (struct pci_dev *pci_dev) | 1488 | toshoboe_close (struct pci_dev *pci_dev) |
1489 | { | 1489 | { |
1490 | int i; | 1490 | int i; |
1491 | struct toshoboe_cb *self = (struct toshoboe_cb*)pci_get_drvdata(pci_dev); | 1491 | struct toshoboe_cb *self = pci_get_drvdata(pci_dev); |
1492 | 1492 | ||
1493 | IRDA_DEBUG (4, "%s()\n", __func__); | 1493 | IRDA_DEBUG (4, "%s()\n", __func__); |
1494 | 1494 | ||
@@ -1696,7 +1696,7 @@ freeself: | |||
1696 | static int | 1696 | static int |
1697 | toshoboe_gotosleep (struct pci_dev *pci_dev, pm_message_t crap) | 1697 | toshoboe_gotosleep (struct pci_dev *pci_dev, pm_message_t crap) |
1698 | { | 1698 | { |
1699 | struct toshoboe_cb *self = (struct toshoboe_cb*)pci_get_drvdata(pci_dev); | 1699 | struct toshoboe_cb *self = pci_get_drvdata(pci_dev); |
1700 | unsigned long flags; | 1700 | unsigned long flags; |
1701 | int i = 10; | 1701 | int i = 10; |
1702 | 1702 | ||
@@ -1725,7 +1725,7 @@ toshoboe_gotosleep (struct pci_dev *pci_dev, pm_message_t crap) | |||
1725 | static int | 1725 | static int |
1726 | toshoboe_wakeup (struct pci_dev *pci_dev) | 1726 | toshoboe_wakeup (struct pci_dev *pci_dev) |
1727 | { | 1727 | { |
1728 | struct toshoboe_cb *self = (struct toshoboe_cb*)pci_get_drvdata(pci_dev); | 1728 | struct toshoboe_cb *self = pci_get_drvdata(pci_dev); |
1729 | unsigned long flags; | 1729 | unsigned long flags; |
1730 | 1730 | ||
1731 | IRDA_DEBUG (4, "%s()\n", __func__); | 1731 | IRDA_DEBUG (4, "%s()\n", __func__); |