Re: [PATCH] ppc32: ppc_sys fixes for 8xx and 82xx (whitespaces fixed)

Started by unknown sender on Oct 26, 2005

Subsystems (1)

Maintainers (1)

open the first message on its own page

Message details and related content
Hello,

i tried your Patch on a MPC8270 based Board, and got some
compilerwarnings, which the following Patch will fix.

Thanks
Heiko Schocher

---

 arch/ppc/syslib/m8260_setup.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/ppc/syslib/m8260_setup.c b/arch/ppc/syslib/m8260_setup.c
--- a/arch/ppc/syslib/m8260_setup.c
+++ b/arch/ppc/syslib/m8260_setup.c
@@ -28,6 +28,7 @@
 #include <asm/machdep.h>
 #include <asm/bootinfo.h>
 #include <asm/time.h>
+#include <asm/ppc_sys.h>

 #include "cpm2_pic.h"
@@ -74,7 +75,7 @@ m8260_setup_arch(void)
 #endif

        identify_ppc_sys_by_name_and_id(BOARD_CHIP_NAME,
-                               in_be32(CPM_MAP_ADDR + CPM_IMMR_OFFSET));
+                       in_be32((void *)(CPM_MAP_ADDR + CPM_IMMR_OFFSET)));

        m82xx_board_setup();
 }
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help