diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /drivers/net/seeq8005.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'drivers/net/seeq8005.c')
-rw-r--r-- | drivers/net/seeq8005.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/seeq8005.c b/drivers/net/seeq8005.c index 39246d457ac2..374832cca11f 100644 --- a/drivers/net/seeq8005.c +++ b/drivers/net/seeq8005.c | |||
@@ -37,7 +37,6 @@ static const char version[] = | |||
37 | #include <linux/interrupt.h> | 37 | #include <linux/interrupt.h> |
38 | #include <linux/ioport.h> | 38 | #include <linux/ioport.h> |
39 | #include <linux/in.h> | 39 | #include <linux/in.h> |
40 | #include <linux/slab.h> | ||
41 | #include <linux/string.h> | 40 | #include <linux/string.h> |
42 | #include <linux/init.h> | 41 | #include <linux/init.h> |
43 | #include <linux/delay.h> | 42 | #include <linux/delay.h> |
@@ -335,7 +334,7 @@ static int __init seeq8005_probe1(struct net_device *dev, int ioaddr) | |||
335 | 334 | ||
336 | #if 0 | 335 | #if 0 |
337 | { | 336 | { |
338 | int irqval = request_irq(dev->irq, &seeq8005_interrupt, 0, "seeq8005", dev); | 337 | int irqval = request_irq(dev->irq, seeq8005_interrupt, 0, "seeq8005", dev); |
339 | if (irqval) { | 338 | if (irqval) { |
340 | printk ("%s: unable to get IRQ %d (irqval=%d).\n", dev->name, | 339 | printk ("%s: unable to get IRQ %d (irqval=%d).\n", dev->name, |
341 | dev->irq, irqval); | 340 | dev->irq, irqval); |
@@ -367,7 +366,7 @@ static int seeq8005_open(struct net_device *dev) | |||
367 | struct net_local *lp = netdev_priv(dev); | 366 | struct net_local *lp = netdev_priv(dev); |
368 | 367 | ||
369 | { | 368 | { |
370 | int irqval = request_irq(dev->irq, &seeq8005_interrupt, 0, "seeq8005", dev); | 369 | int irqval = request_irq(dev->irq, seeq8005_interrupt, 0, "seeq8005", dev); |
371 | if (irqval) { | 370 | if (irqval) { |
372 | printk ("%s: unable to get IRQ %d (irqval=%d).\n", dev->name, | 371 | printk ("%s: unable to get IRQ %d (irqval=%d).\n", dev->name, |
373 | dev->irq, irqval); | 372 | dev->irq, irqval); |