summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-04-24 12:51:03 -0400
committerJeff Garzik <jeff@garzik.org>2007-04-24 12:51:03 -0400
commit5efb764c8653c187912669629c14bb47242a5d05 (patch)
treee400ec061cf53e658ded9c95664fc9234973efbd /drivers
parentc43c49bd61fdb9bb085ddafcaadb17d06f95ec43 (diff)
downloadkernel-common-5efb764c8653c187912669629c14bb47242a5d05.tar.gz
kernel-common-5efb764c8653c187912669629c14bb47242a5d05.tar.bz2
kernel-common-5efb764c8653c187912669629c14bb47242a5d05.zip
drivers/net/hamradio/baycom_ser_fdx build fix
sparc64: drivers/net/hamradio/baycom_ser_fdx.c: In function `ser12_open': drivers/net/hamradio/baycom_ser_fdx.c:417: error: `NR_IRQS' undeclared (first us e in this function) drivers/net/hamradio/baycom_ser_fdx.c:417: error: (Each undeclared identifier is reported only once drivers/net/hamradio/baycom_ser_fdx.c:417: error: for each function it appears i n.) Cc: Folkert van Heusden <folkert@vanheusden.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/hamradio/baycom_ser_fdx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/hamradio/baycom_ser_fdx.c b/drivers/net/hamradio/baycom_ser_fdx.c
index 59214e74b9cf..30baf6ecfc63 100644
--- a/drivers/net/hamradio/baycom_ser_fdx.c
+++ b/drivers/net/hamradio/baycom_ser_fdx.c
@@ -75,12 +75,14 @@
#include <linux/ioport.h>
#include <linux/string.h>
#include <linux/init.h>
-#include <asm/uaccess.h>
-#include <asm/io.h>
#include <linux/hdlcdrv.h>
#include <linux/baycom.h>
#include <linux/jiffies.h>
+#include <asm/uaccess.h>
+#include <asm/io.h>
+#include <asm/irq.h>
+
/* --------------------------------------------------------------------- */
#define BAYCOM_DEBUG