summaryrefslogtreecommitdiffstats
path: root/board/ml2/ml2.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ml2/ml2.c')
-rw-r--r--board/ml2/ml2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ml2/ml2.c b/board/ml2/ml2.c
index ff5f816796..f32e512d4f 100644
--- a/board/ml2/ml2.c
+++ b/board/ml2/ml2.c
@@ -30,8 +30,8 @@ int board_early_init_f (void)
int checkboard (void)
{
- unsigned char *s = getenv ("serial#");
- unsigned char *e;
+ char *s = getenv ("serial#");
+ char *e;
if (!s || strncmp (s, "ML2", 9)) {
printf ("### No HW ID - assuming ML2");
OpenPOWER on IntegriCloud