smc91x: Add missing #inclusion of <linux/irq.h>
authorDavid Howells <dhowells@redhat.com>
Thu, 7 Oct 2010 13:08:54 +0000 (14:08 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 7 Oct 2010 13:08:54 +0000 (14:08 +0100)
Add missing #inclusion of <linux/irq.h>.  Without it, the following error can
occur with the irqflags fixup patches applied:

drivers/net/smc91x.c: In function 'smc_probe':
drivers/net/smc91x.c:1987:2: error: implicit declaration of function 'irq_canonicalize'

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
drivers/net/smc91x.c

index 10cf0cbc218507111b26959f119645672fcd5666..726df611ee17da997b31a8219de2554080fdeed7 100644 (file)
@@ -72,6 +72,7 @@ static const char version[] =
 #include <linux/sched.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/errno.h>
 #include <linux/ioport.h>
 #include <linux/crc32.h>