Skip to content

Commit

Permalink
[PATCH] ppc32: fix Bamboo and Luan build warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eugene Surovegin authored and Linus Torvalds committed Sep 5, 2005
1 parent cce9d7e commit cc50664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/ppc/platforms/4xx/bamboo.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
#define STD_UART_OP(num) \
{ 0, BASE_BAUD, 0, UART##num##_INT, \
(ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST), \
iomem_base: UART##num##_IO_BASE, \
iomem_base: (void*)UART##num##_IO_BASE, \
io_type: SERIAL_IO_MEM},

#define SERIAL_PORT_DFNS \
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/4xx/luan.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
#define STD_UART_OP(num) \
{ 0, BASE_BAUD, 0, UART##num##_INT, \
(ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST), \
iomem_base: UART##num##_IO_BASE, \
iomem_base: (void*)UART##num##_IO_BASE, \
io_type: SERIAL_IO_MEM},

#define SERIAL_PORT_DFNS \
Expand Down

0 comments on commit cc50664

Please sign in to comment.