summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2010-10-07 14:08:54 +0100
committerDavid Howells <dhowells@redhat.com>2010-10-07 14:08:54 +0100
commit476c32c47a84fcf8033b93c588761405fefb3980 (patch)
tree94549c6ae4130953d5111c09f5118da69fd18a2e
parentbcdb714c8856c76383ca455294f0074168705eab (diff)
downloadop-kernel-dev-476c32c47a84fcf8033b93c588761405fefb3980.zip
op-kernel-dev-476c32c47a84fcf8033b93c588761405fefb3980.tar.gz
smc91x: Add missing #inclusion of <linux/irq.h>
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>
-rw-r--r--drivers/net/smc91x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c
index 10cf0cb..726df61 100644
--- a/drivers/net/smc91x.c
+++ b/drivers/net/smc91x.c
@@ -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>
OpenPOWER on IntegriCloud