Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36d2f5a1 authored by Kumar Gala's avatar Kumar Gala Committed by Linus Torvalds
Browse files

[PATCH] cpm_uart: needs some love to compile with GCC4.0.1



Fixed problems so we can build with gcc-4.0.1

Signed-off-by: default avatarPeter Schaefer-Hutter <peter.schaefer-hutter@tfk-racoms.com>
Signed-off-by: default avatarKumar Gala <kumar.gala@freescale.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 311c4627
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -1134,14 +1134,14 @@ static int __init cpm_uart_console_setup(struct console *co, char *options)
	return 0;
}

extern struct uart_driver cpm_reg;
static struct uart_driver cpm_reg;
static struct console cpm_scc_uart_console = {
	.name		"ttyCPM",
	.write		cpm_uart_console_write,
	.device		uart_console_device,
	.setup		cpm_uart_console_setup,
	.flags		CON_PRINTBUFFER,
	.index		-1,
	.name		= "ttyCPM",
	.write		= cpm_uart_console_write,
	.device		= uart_console_device,
	.setup		= cpm_uart_console_setup,
	.flags		= CON_PRINTBUFFER,
	.index		= -1,
	.data		= &cpm_reg,
};