diff options
-rw-r--r-- | arch/arm/mach-clps711x/fortunet.c | 2 | ||||
-rw-r--r-- | drivers/serial/imx.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-clps711x/fortunet.c b/arch/arm/mach-clps711x/fortunet.c index f83a59761e02..3d88da0c287b 100644 --- a/arch/arm/mach-clps711x/fortunet.c +++ b/arch/arm/mach-clps711x/fortunet.c | |||
@@ -31,6 +31,8 @@ | |||
31 | 31 | ||
32 | #include <asm/mach/arch.h> | 32 | #include <asm/mach/arch.h> |
33 | 33 | ||
34 | #include <asm/memory.h> | ||
35 | |||
34 | #include "common.h" | 36 | #include "common.h" |
35 | 37 | ||
36 | struct meminfo memmap = { | 38 | struct meminfo memmap = { |
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c index 4c985e6b3784..4e1e80adaf11 100644 --- a/drivers/serial/imx.c +++ b/drivers/serial/imx.c | |||
@@ -860,7 +860,7 @@ imx_console_setup(struct console *co, char *options) | |||
860 | return uart_set_options(&sport->port, co, baud, parity, bits, flow); | 860 | return uart_set_options(&sport->port, co, baud, parity, bits, flow); |
861 | } | 861 | } |
862 | 862 | ||
863 | extern struct uart_driver imx_reg; | 863 | static struct uart_driver imx_reg; |
864 | static struct console imx_console = { | 864 | static struct console imx_console = { |
865 | .name = "ttySMX", | 865 | .name = "ttySMX", |
866 | .write = imx_console_write, | 866 | .write = imx_console_write, |