]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppc32: Compilation fixes for Ebony, Luan and Ocotea
authorAndrew Morton <akpm@osdl.org>
Sat, 12 Mar 2005 13:39:19 +0000 (05:39 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 12 Mar 2005 13:39:19 +0000 (05:39 -0800)
From: Matt Porter <mporter@kernel.crashing.org>

this patch fixes the problem, that the current kernel (linux-2.6.11-rc5)
could not be compiled, when "support for early boot texts over serial port"
(CONFIG_SERIAL_TEXT_DEBUG=y) is active.

Signed-off-by: Gerhard Jaeger <gjaeger@sysgo.com>
Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ppc/platforms/4xx/ebony.h
arch/ppc/platforms/4xx/luan.h
arch/ppc/platforms/4xx/ocotea.h

index f90ddf309e2010ba47da72f45e2a49322f4a8ad6..d8f0e1ddd1a2f60cb9087a5f95556142754839b9 100644 (file)
@@ -61,8 +61,8 @@
  */
 
 /* OpenBIOS defined UART mappings, used before early_serial_setup */
-#define UART0_IO_BASE  (u8 *) 0xE0000200
-#define UART1_IO_BASE  (u8 *) 0xE0000300
+#define UART0_IO_BASE  0xE0000200
+#define UART1_IO_BASE  0xE0000300
 
 /* external Epson SG-615P */
 #define BASE_BAUD      691200
index 107b952885f8d527efbfa26ae46209f5b16b1381..09b444c8781638a97d86cd9ded72e64b6d1872ff 100644 (file)
@@ -47,9 +47,9 @@
 #define RS_TABLE_SIZE  3
 
 /* PIBS defined UART mappings, used before early_serial_setup */
-#define UART0_IO_BASE  (u8 *) 0xa0000200
-#define UART1_IO_BASE  (u8 *) 0xa0000300
-#define UART2_IO_BASE  (u8 *) 0xa0000600
+#define UART0_IO_BASE  0xa0000200
+#define UART1_IO_BASE  0xa0000300
+#define UART2_IO_BASE  0xa0000600
 
 #define BASE_BAUD      11059200
 #define STD_UART_OP(num)                                       \
index b49739a1745b52bdbf39b5501bf746653d0d51d8..202dc8251190869c4e5d4dee47c9020b52230463 100644 (file)
@@ -56,8 +56,8 @@
 #define RS_TABLE_SIZE  2
 
 /* OpenBIOS defined UART mappings, used before early_serial_setup */
-#define UART0_IO_BASE  (u8 *) 0xE0000200
-#define UART1_IO_BASE  (u8 *) 0xE0000300
+#define UART0_IO_BASE  0xE0000200
+#define UART1_IO_BASE  0xE0000300
 
 #define BASE_BAUD      11059200/16
 #define STD_UART_OP(num)                                       \