]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sh: Fix up build fallout from serial merge.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 20 Jun 2011 03:24:53 +0000 (12:24 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Jun 2011 03:24:53 +0000 (12:24 +0900)
This fixes up build issues for SH7720/SH7722/SH7750 that crept in with
the serial rework.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh3/serial-sh7720.c
arch/sh/kernel/cpu/sh4/setup-sh7750.c
arch/sh/kernel/cpu/sh4a/setup-sh7722.c

index 8234e1e7abd99b1b14159f9674c3dd7b5fee20bb..8832c526cdf92d68cb8b59a48d2a05d8942ab181 100644 (file)
@@ -2,6 +2,7 @@
 #include <linux/serial_core.h>
 #include <linux/io.h>
 #include <cpu/serial.h>
+#include <asm/gpio.h>
 
 static void sh7720_sci_init_pins(struct uart_port *port, unsigned int cflag)
 {
index c10db5b96e5974c7a277c8942a7d234b42f4fdf9..98cc0c794c765abc4d7397086058c69a20c9e3d2 100644 (file)
@@ -38,7 +38,7 @@ static struct platform_device rtc_device = {
 
 static struct plat_sci_port sci_platform_data = {
        .mapbase        = 0xffe00000,
-       .port_reg       = 0xffe0001C
+       .port_reg       = 0xffe0001C,
        .flags          = UPF_BOOT_AUTOCONF,
        .scscr          = SCSCR_TE | SCSCR_RE,
        .scbrr_algo_id  = SCBRR_ALGO_2,
index 863249dbf05b786f19573e033fd8dc74d6d6c9b8..278a0e572158697793d76404b6ffb87eb4c9a7c2 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <cpu/dma-register.h>
 #include <cpu/sh7722.h>
+#include <cpu/serial.h>
 
 static const struct sh_dmae_slave_config sh7722_dmae_slaves[] = {
        {