diff options
author | Eugene Surovegin <ebs@ebshome.net> | 2005-09-03 18:55:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 03:05:58 -0400 |
commit | cc506644202d23bcf115999ee911a53f177ce682 (patch) | |
tree | e08a245cd3916a0012a776241c63c8e5aad2ffed /arch/ppc/platforms/4xx | |
parent | cce9d7e36f92f2d48de8c701b65ad27e76fedd02 (diff) |
[PATCH] ppc32: fix Bamboo and Luan build warnings
Fix STD_UART_OP definitions in Bamboo and Luan board ports which were
causing "initialization makes pointer from integer without a cast"
warnings.
Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/platforms/4xx')
-rw-r--r-- | arch/ppc/platforms/4xx/bamboo.h | 2 | ||||
-rw-r--r-- | arch/ppc/platforms/4xx/luan.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/platforms/4xx/bamboo.h b/arch/ppc/platforms/4xx/bamboo.h index 63d71450414..5c019282649 100644 --- a/arch/ppc/platforms/4xx/bamboo.h +++ b/arch/ppc/platforms/4xx/bamboo.h | |||
@@ -88,7 +88,7 @@ | |||
88 | #define STD_UART_OP(num) \ | 88 | #define STD_UART_OP(num) \ |
89 | { 0, BASE_BAUD, 0, UART##num##_INT, \ | 89 | { 0, BASE_BAUD, 0, UART##num##_INT, \ |
90 | (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST), \ | 90 | (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST), \ |
91 | iomem_base: UART##num##_IO_BASE, \ | 91 | iomem_base: (void*)UART##num##_IO_BASE, \ |
92 | io_type: SERIAL_IO_MEM}, | 92 | io_type: SERIAL_IO_MEM}, |
93 | 93 | ||
94 | #define SERIAL_PORT_DFNS \ | 94 | #define SERIAL_PORT_DFNS \ |
diff --git a/arch/ppc/platforms/4xx/luan.h b/arch/ppc/platforms/4xx/luan.h index 09b444c8781..bbe7d0766db 100644 --- a/arch/ppc/platforms/4xx/luan.h +++ b/arch/ppc/platforms/4xx/luan.h | |||
@@ -55,7 +55,7 @@ | |||
55 | #define STD_UART_OP(num) \ | 55 | #define STD_UART_OP(num) \ |
56 | { 0, BASE_BAUD, 0, UART##num##_INT, \ | 56 | { 0, BASE_BAUD, 0, UART##num##_INT, \ |
57 | (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST), \ | 57 | (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST), \ |
58 | iomem_base: UART##num##_IO_BASE, \ | 58 | iomem_base: (void*)UART##num##_IO_BASE, \ |
59 | io_type: SERIAL_IO_MEM}, | 59 | io_type: SERIAL_IO_MEM}, |
60 | 60 | ||
61 | #define SERIAL_PORT_DFNS \ | 61 | #define SERIAL_PORT_DFNS \ |