]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Misc fixes to sync with mainline
authorTony Lindgren <tony@atomide.com>
Sat, 23 Aug 2008 22:47:58 +0000 (15:47 -0700)
committerTony Lindgren <tony@atomide.com>
Sat, 23 Aug 2008 22:47:58 +0000 (15:47 -0700)
Based on comments from Russell King.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/serial.c
arch/arm/plat-omap/include/mach/control.h

index d9fca6f343ffb31aa449f03711a0da1df8f5bb10..bd6f8c965fbe0f4d4b5af5b9e50f1883a9ef2fe8 100644 (file)
@@ -28,7 +28,7 @@ static struct clk *uart_fck[OMAP_MAX_NR_PORTS];
 
 static struct plat_serial8250_port serial_platform_data[] = {
        {
-               .membase        = (__force void __iomem *)IO_ADDRESS(OMAP_UART1_BASE),
+               .membase        = (void __iomem *)IO_ADDRESS(OMAP_UART1_BASE),
                .mapbase        = (unsigned long)OMAP_UART1_BASE,
                .irq            = 72,
                .flags          = UPF_BOOT_AUTOCONF,
@@ -36,7 +36,7 @@ static struct plat_serial8250_port serial_platform_data[] = {
                .regshift       = 2,
                .uartclk        = OMAP24XX_BASE_BAUD * 16,
        }, {
-               .membase        = (__force void __iomem *)IO_ADDRESS(OMAP_UART2_BASE),
+               .membase        = (void __iomem *)IO_ADDRESS(OMAP_UART2_BASE),
                .mapbase        = (unsigned long)OMAP_UART2_BASE,
                .irq            = 73,
                .flags          = UPF_BOOT_AUTOCONF,
@@ -44,7 +44,7 @@ static struct plat_serial8250_port serial_platform_data[] = {
                .regshift       = 2,
                .uartclk        = OMAP24XX_BASE_BAUD * 16,
        }, {
-               .membase        = (__force void __iomem *)IO_ADDRESS(OMAP_UART3_BASE),
+               .membase        = (void __iomem *)IO_ADDRESS(OMAP_UART3_BASE),
                .mapbase        = (unsigned long)OMAP_UART3_BASE,
                .irq            = 74,
                .flags          = UPF_BOOT_AUTOCONF,
index e15d6e988185df252e0b302048a4109419de6ffe..1cd98fd9801a0804b33dead11ee943b34ef4f3b2 100644 (file)
 
 #ifndef __ASSEMBLY__
 #define OMAP242X_CTRL_REGADDR(reg)                                     \
-       (__force void __iomem *)IO_ADDRESS(OMAP242X_CTRL_BASE + (reg))
+       (void __iomem *)IO_ADDRESS(OMAP242X_CTRL_BASE + (reg))
 #define OMAP243X_CTRL_REGADDR(reg)                                     \
-       (__force void __iomem *)IO_ADDRESS(OMAP243X_CTRL_BASE + (reg))
+       (void __iomem *)IO_ADDRESS(OMAP243X_CTRL_BASE + (reg))
 #define OMAP343X_CTRL_REGADDR(reg)                                     \
-       (__force void __iomem *)IO_ADDRESS(OMAP343X_CTRL_BASE + (reg))
+       (void __iomem *)IO_ADDRESS(OMAP343X_CTRL_BASE + (reg))
 #else
 #define OMAP242X_CTRL_REGADDR(reg)     IO_ADDRESS(OMAP242X_CTRL_BASE + (reg))
 #define OMAP243X_CTRL_REGADDR(reg)     IO_ADDRESS(OMAP243X_CTRL_BASE + (reg))