diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-20 07:18:03 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-28 21:58:48 +0100 |
commit | d7be3056def73c0ab53b3907f9a70a73253a5ae9 (patch) | |
tree | c2ad918fbe2d5b4fb676e8eee77d6b8927b87d0c /common/stdio.c | |
parent | 5a442c0addc69d0c4b58e98e5aec1cf07576debb (diff) | |
download | bootable_bootloader_goldelico_gta04-d7be3056def73c0ab53b3907f9a70a73253a5ae9.zip bootable_bootloader_goldelico_gta04-d7be3056def73c0ab53b3907f9a70a73253a5ae9.tar.gz bootable_bootloader_goldelico_gta04-d7be3056def73c0ab53b3907f9a70a73253a5ae9.tar.bz2 |
stdio: constify "name" arg in public api
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/stdio.c')
-rw-r--r-- | common/stdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/stdio.c b/common/stdio.c index ab7c5ab..b20772c 100644 --- a/common/stdio.c +++ b/common/stdio.c @@ -105,7 +105,7 @@ struct list_head* stdio_get_list(void) return &(devs.list); } -struct stdio_dev* stdio_get_by_name(char* name) +struct stdio_dev* stdio_get_by_name(const char *name) { struct list_head *pos; struct stdio_dev *dev; @@ -155,7 +155,7 @@ int stdio_register (struct stdio_dev * dev) * returns 0 if success, -1 if device is assigned and 1 if devname not found */ #ifdef CONFIG_SYS_STDIO_DEREGISTER -int stdio_deregister(char *devname) +int stdio_deregister(const char *devname) { int l; struct list_head *pos; |