9
0
Fork 0

pcm038: fix initialization makes pointer from integer without a cast

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2010-09-24 13:01:18 +02:00 committed by Sascha Hauer
parent a19d7809d7
commit 4bdfe4df0a
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,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);