From: Geert Uytterhoeven Date: Mon, 9 Oct 2006 20:27:42 +0000 (+0200) Subject: [PATCH] m68k/MVME167: SERIAL167 is no longer broken X-Git-Tag: v2.6.19-rc2~219 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea62aa1b6f6d31b53a34a6f5271ed85735ccc0bc;p=platform%2Fkernel%2Flinux-exynos.git [PATCH] m68k/MVME167: SERIAL167 is no longer broken - SERIAL167 is no longer broken - Removed some unused variables from the driver to fix compiler warnings Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds --- diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 805b81f..7bc1446 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig @@ -600,7 +600,7 @@ config MVME147_SCC config SERIAL167 bool "CD2401 support for MVME166/7 serial ports" - depends on MVME16x && BROKEN + depends on MVME16x help This is the driver for the serial ports on the Motorola MVME166, 167, and 172 boards. Everyone using one of these boards should say diff --git a/drivers/char/serial167.c b/drivers/char/serial167.c index 6f13f98..defc0db 100644 --- a/drivers/char/serial167.c +++ b/drivers/char/serial167.c @@ -1422,7 +1422,6 @@ cy_tiocmget(struct tty_struct *tty, struct file *file) volatile unsigned char *base_addr = (u_char *)BASE_ADDR; unsigned long flags; unsigned char status; - unsigned int result; channel = info->line; @@ -1446,7 +1445,6 @@ cy_tiocmset(struct tty_struct *tty, struct file *file, int channel; volatile unsigned char *base_addr = (u_char *)BASE_ADDR; unsigned long flags; - unsigned int arg; channel = info->line;