summaryrefslogtreecommitdiff
path: root/common/console.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 07:18:03 -0400
committerWolfgang Denk <wd@denx.de>2010-11-28 21:58:48 +0100
commitd7be3056def73c0ab53b3907f9a70a73253a5ae9 (patch)
treec2ad918fbe2d5b4fb676e8eee77d6b8927b87d0c /common/console.c
parent5a442c0addc69d0c4b58e98e5aec1cf07576debb (diff)
downloadu-boot-imx-d7be3056def73c0ab53b3907f9a70a73253a5ae9.zip
u-boot-imx-d7be3056def73c0ab53b3907f9a70a73253a5ae9.tar.gz
u-boot-imx-d7be3056def73c0ab53b3907f9a70a73253a5ae9.tar.bz2
stdio: constify "name" arg in public api
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/console.c b/common/console.c
index 7e01886..8c650e0 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;