]> git.sur5r.net Git - u-boot/blobdiff - board/esd/dp405/dp405.c
twl4030: make twl4030_i2c_write_u8 prototype consistent
[u-boot] / board / esd / dp405 / dp405.c
index 228a57057a930691caa22ff2be7abd0aec7cdecb..587809226fbcd6873588b577920b0b7668e46daa 100644 (file)
@@ -86,7 +86,7 @@ int misc_init_r (void)
 int checkboard (void)
 {
        char str[64];
-       int i = getenv_("serial#", str, sizeof(str));
+       int i = getenv_f("serial#", str, sizeof(str));
        unsigned char trans[16] = {0x0,0x8,0x4,0xc,0x2,0xa,0x6,0xe,
                                   0x1,0x9,0x5,0xd,0x3,0xb,0x7,0xf};
        unsigned char id1, id2, rev;