The patch titled

     ppc32: fix Bamboo and Luan build warnings

has been added to the -mm tree.  Its filename is

     ppc32-fix-bamboo-and-luan-build-warnings.patch

Patches currently in -mm which might be from [EMAIL PROTECTED] are

ppc32-add-440gx-revf-cputable-entry.patch
ppc32-fix-emac-tx-channel-assignments-for-npe405h.patch
ppc32-fix-bamboo-and-luan-build-warnings.patch



From: Eugene Surovegin <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 arch/ppc/platforms/4xx/bamboo.h |    2 +-
 arch/ppc/platforms/4xx/luan.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -puN 
arch/ppc/platforms/4xx/bamboo.h~ppc32-fix-bamboo-and-luan-build-warnings 
arch/ppc/platforms/4xx/bamboo.h
--- 
devel/arch/ppc/platforms/4xx/bamboo.h~ppc32-fix-bamboo-and-luan-build-warnings  
    2005-08-21 22:10:47.000000000 -0700
+++ devel-akpm/arch/ppc/platforms/4xx/bamboo.h  2005-08-21 22:10:47.000000000 
-0700
@@ -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       \
diff -puN 
arch/ppc/platforms/4xx/luan.h~ppc32-fix-bamboo-and-luan-build-warnings 
arch/ppc/platforms/4xx/luan.h
--- 
devel/arch/ppc/platforms/4xx/luan.h~ppc32-fix-bamboo-and-luan-build-warnings    
    2005-08-21 22:10:47.000000000 -0700
+++ devel-akpm/arch/ppc/platforms/4xx/luan.h    2005-08-21 22:10:47.000000000 
-0700
@@ -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       \
_
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to