[PATCH 3/3] pcm038: fix initialization makes pointer from integer without a cast
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Fri Sep 24 07:01:18 EDT 2010
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at 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
More information about the barebox
mailing list