LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: hs@denx.de
To: vbordug@ru.mvista.com
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: [PATCH] ppc32: ppc_sys fixes for 8xx and 82xx (whitespaces fixed)
Date: Wed, 26 Oct 2005 09:16:40 +0200	[thread overview]
Message-ID: <1130311000.435f2d58835a8@webmail.mnet-online.de> (raw)

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();
 }

             reply	other threads:[~2005-10-26  7:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-26  7:16 hs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-10-19 17:57 [PATCH] ppc32: ppc_sys fixes for 8xx and 82xx (whitespaces fixed) Vitaly Bordug

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1130311000.435f2d58835a8@webmail.mnet-online.de \
    --to=hs@denx.de \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=vbordug@ru.mvista.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox