X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fconsole.c;h=8c650e05e1c352ff5406b576387cb25dd2f5dd35;hb=7fb3e7a2d64b902e423c9e5a3aedc1f4179ac27d;hp=7e018863bd3e0bdf85a294f74470df446458ef5b;hpb=2271d3ddccfbd4a7640121669ff9b013b1fea361;p=u-boot diff --git a/common/console.c b/common/console.c index 7e018863bd..8c650e05e1 100644 --- a/common/console.c +++ b/common/console.c @@ -479,7 +479,7 @@ inline void dbg(const char *fmt, ...) /** U-Boot INIT FUNCTIONS *************************************************/ -struct stdio_dev *search_device(int flags, char *name) +struct stdio_dev *search_device(int flags, const char *name) { struct stdio_dev *dev; @@ -491,7 +491,7 @@ struct stdio_dev *search_device(int flags, char *name) return NULL; } -int console_assign(int file, char *devname) +int console_assign(int file, const char *devname) { int flag; struct stdio_dev *dev;