Cleanup compiler warnings.
diff --git a/board/hmi1001/hmi1001.c b/board/hmi1001/hmi1001.c
index 6b1fbfd..237e863 100644
--- a/board/hmi1001/hmi1001.c
+++ b/board/hmi1001/hmi1001.c
@@ -30,6 +30,7 @@
#include <common.h>
#include <mpc5xxx.h>
#include <pci.h>
+#include <malloc.h>
#ifndef CFG_RAMBOOT
static void sdram_start (int hi_addr)
@@ -178,7 +179,7 @@
return kbd_data;
}
-static int compare_magic (struct kbd_data_t *kbd_data, uchar *str)
+static int compare_magic (const struct kbd_data_t *kbd_data, uchar *str)
{
char s1 = str[0];
char s2;
@@ -261,10 +262,6 @@
#endif /* CONFIG_PREBOOT */
-int misc_init_f (void)
-{
-}
-
int misc_init_r (void)
{
#ifdef CONFIG_PREBOOT