lite5200b_PM: fix compile warning
authorWolfgang Denk <wd@denx.de>
Sun, 24 Oct 2010 13:37:12 +0000 (15:37 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 24 Oct 2010 13:37:12 +0000 (15:37 +0200)
Fix warning:

icecube.c: In function 'lite5200b_wakeup':
icecube.c:83: warning: format '%08lx' expects type 'long unsigned int', but argument 2 has type 'void (*)(void)'

Signed-off-by: Wolfgang Denk <wd@denx.de>
board/icecube/icecube.c

index 47b2195557920adc8f7a879bef8fb9f5fdebb75d..a9e4448f4d0d157cca8a1c479e3e2859a148648e 100644 (file)
@@ -80,7 +80,7 @@ void lite5200b_wakeup(void)
        /* jump back to linux kernel code */
        linux_wakeup = SAVED_ADDR;
        printf("\n\nLooks like we just woke, transferring control to 0x%08lx\n",
-                       linux_wakeup);
+                       (unsigned long)linux_wakeup);
        linux_wakeup();
 }
 #else