[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100928.213620.193710221.davem@davemloft.net>
Date: Tue, 28 Sep 2010 21:36:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gregkh@...e.de
CC: feng.tang@...el.com, linux-kernel@...r.kernel.org
Subject: [PATCH] mrst_max3110: Missing linux/irq.h include.
This driver makes use of IRQ_TYPE_EDGE_FALLING, therefore it must
include linux/irq.h
drivers/serial/mrst_max3110.c: In function 'serial_m3110_startup':
drivers/serial/mrst_max3110.c:470:5: error: 'IRQ_TYPE_EDGE_FALLING' undeclared (first use in this function)
drivers/serial/mrst_max3110.c:470:5: note: each undeclared identifier is reported only once for each function it appears in
Signed-off-by: David S. Miller <davem@...emloft.net>
diff --git a/drivers/serial/mrst_max3110.c b/drivers/serial/mrst_max3110.c
index f6ad1ec..915dedc 100644
--- a/drivers/serial/mrst_max3110.c
+++ b/drivers/serial/mrst_max3110.c
@@ -33,6 +33,7 @@
#include <linux/console.h>
#include <linux/sysrq.h>
#include <linux/platform_device.h>
+#include <linux/irq.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial_core.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists