diff options
Diffstat (limited to 'drivers/net/arcnet/com90xx.c')
-rw-r--r-- | drivers/net/arcnet/com90xx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/arcnet/com90xx.c b/drivers/net/arcnet/com90xx.c index d762fe46251e..f3b46f71e293 100644 --- a/drivers/net/arcnet/com90xx.c +++ b/drivers/net/arcnet/com90xx.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <linux/ioport.h> | 30 | #include <linux/ioport.h> |
31 | #include <linux/delay.h> | 31 | #include <linux/delay.h> |
32 | #include <linux/netdevice.h> | 32 | #include <linux/netdevice.h> |
33 | #include <linux/slab.h> | ||
33 | #include <asm/io.h> | 34 | #include <asm/io.h> |
34 | #include <linux/arcdevice.h> | 35 | #include <linux/arcdevice.h> |
35 | 36 | ||
@@ -501,7 +502,7 @@ static int __init com90xx_found(int ioaddr, int airq, u_long shmem, void __iomem | |||
501 | goto err_free_dev; | 502 | goto err_free_dev; |
502 | 503 | ||
503 | /* reserve the irq */ | 504 | /* reserve the irq */ |
504 | if (request_irq(airq, &arcnet_interrupt, 0, "arcnet (90xx)", dev)) { | 505 | if (request_irq(airq, arcnet_interrupt, 0, "arcnet (90xx)", dev)) { |
505 | BUGMSG(D_NORMAL, "Can't get IRQ %d!\n", airq); | 506 | BUGMSG(D_NORMAL, "Can't get IRQ %d!\n", airq); |
506 | goto err_release_mem; | 507 | goto err_release_mem; |
507 | } | 508 | } |