aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sibyte-2.6/patches/000-DUART.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/sibyte-2.6/patches/000-DUART.patch')
-rw-r--r--target/linux/sibyte-2.6/patches/000-DUART.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/sibyte-2.6/patches/000-DUART.patch b/target/linux/sibyte-2.6/patches/000-DUART.patch
index fe899f1453..86b7666da6 100644
--- a/target/linux/sibyte-2.6/patches/000-DUART.patch
+++ b/target/linux/sibyte-2.6/patches/000-DUART.patch
@@ -54,7 +54,7 @@ diff -Nur linux-2.6.17/drivers/char/sb1250_duart.c linux-2.6.17-owrt/drivers/cha
+ * running in asynchronous mode. Also, support for doing a serial console
+ * on one of those ports
+ */
-+#include <linux/config.h>
++#include <linux/autoconf.h>
+#include <linux/types.h>
+#include <linux/kernel.h>
+#include <linux/serial.h>
@@ -267,7 +267,7 @@ diff -Nur linux-2.6.17/drivers/char/sb1250_duart.c linux-2.6.17-owrt/drivers/cha
+ * which port interrupted
+ */
+
-+static irqreturn_t duart_int(int irq, void *dev_id, struct pt_regs *regs)
++static irqreturn_t duart_int(int irq, void *dev_id)
+{
+ uart_state_t *us = (uart_state_t *)dev_id;
+ struct tty_struct *tty = us->tty;