1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

stdio: constify "name" arg in public api

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger
2010-10-20 07:18:03 -04:00
committed by Wolfgang Denk
parent 5a442c0add
commit d7be3056de
5 changed files with 8 additions and 8 deletions

View File

@@ -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;