summaryrefslogtreecommitdiff
path: root/board/hmi1001/hmi1001.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-09-03 01:58:35 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-09-03 01:58:35 +0200
commit6d51e505adfef794b72df128a21d4e4b39f80c8b (patch)
treec934432de88e86ed0adc9e9c33900f68d3892284 /board/hmi1001/hmi1001.c
parent7b3e3c595464939d177c1678c324ef9e3b8e2a08 (diff)
Cleanup compiler warnings.
Diffstat (limited to 'board/hmi1001/hmi1001.c')
-rw-r--r--board/hmi1001/hmi1001.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/board/hmi1001/hmi1001.c b/board/hmi1001/hmi1001.c
index 6b1fbfdbbb..237e863165 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 @@ struct kbd_data_t* get_keys (struct kbd_data_t *kbd_data)
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 @@ static uchar *key_match (const struct kbd_data_t *kbd_data)
#endif /* CONFIG_PREBOOT */
-int misc_init_f (void)
-{
-}
-
int misc_init_r (void)
{
#ifdef CONFIG_PREBOOT