Reduce warnings/errors in libpayload when using picky compiler options
[coreboot.git] / payloads / libpayload / drivers / serial.c
index 0674ec8c38804ac226bb558ded3a02753771c199..c6804d2b2ae166f3d6ec91cf11c909580be8d118 100644 (file)
@@ -195,7 +195,7 @@ int serial_getchar(void)
 /* A vt100 doesn't do color, setaf/setab below are from xterm-color. */
 #define VT100_SET_COLOR   "\e[3%d;4%dm"
 
-static void serial_putcmd(char *str)
+static void serial_putcmd(const char *str)
 {
        while(*str)
                serial_putchar(*(str++));