mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 3/3] pcm038: fix initialization makes pointer from integer without a cast
Date: Fri, 24 Sep 2010 13:01:18 +0200	[thread overview]
Message-ID: <1285326078-13582-3-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <1285326078-13582-1-git-send-email-plagnioj@jcrosoft.com>

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/boards/pcm038/pcm038.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boards/pcm038/pcm038.c b/arch/arm/boards/pcm038/pcm038.c
index 20ffffb..a4dc207 100644
--- a/arch/arm/boards/pcm038/pcm038.c
+++ b/arch/arm/boards/pcm038/pcm038.c
@@ -406,7 +406,7 @@ extern void *pcm038_pll_init, *pcm038_pll_init_end;
 static int pcm038_power_init(void)
 {
 	int ret;
-	void *vram = 0xffff4c00;
+	void *vram = (void*)0xffff4c00;
 	void (*pllfunc)(void) = vram;
 
 	printf("initialising PLLs: 0x%p 0x%p\n", &pcm038_pll_init);
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2010-09-24 11:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24 11:01 [PATCH 1/3] imx/fb: struct imx_ipu_fb_platform_data remove const for mode Jean-Christophe PLAGNIOL-VILLARD
2010-09-24 11:01 ` [PATCH 2/3] imx-ipu-fb: set default bits per pixel at 16 for mx3 Jean-Christophe PLAGNIOL-VILLARD
2010-09-24 11:01 ` Jean-Christophe PLAGNIOL-VILLARD [this message]

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=1285326078-13582-3-git-send-email-plagnioj@jcrosoft.com \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    /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