summaryrefslogtreecommitdiffstats
path: root/include/stdio_dev.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 07:18:03 -0400
committerWolfgang Denk <wd@denx.de>2010-12-09 10:24:09 +0100
commit32ff4b7fe410bdea29ca38ab15f57e731fc920d1 (patch)
tree98c674e5beaa58074359208a393449307b4a54eb /include/stdio_dev.h
parent543f0a3819a9af130f3f80a660099fad8d2d4b8e (diff)
downloadu-boot-32ff4b7fe410bdea29ca38ab15f57e731fc920d1.tar.gz
u-boot-32ff4b7fe410bdea29ca38ab15f57e731fc920d1.tar.xz
u-boot-32ff4b7fe410bdea29ca38ab15f57e731fc920d1.zip
stdio: constify "name" arg in public api
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/stdio_dev.h')
-rw-r--r--include/stdio_dev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio_dev.h b/include/stdio_dev.h
index 83da4cdff1..82ad463c10 100644
--- a/include/stdio_dev.h
+++ b/include/stdio_dev.h
@@ -93,10 +93,10 @@ int stdio_register (struct stdio_dev * dev);
int stdio_init (void);
void stdio_print_current_devices(void);
#ifdef CONFIG_SYS_STDIO_DEREGISTER
-int stdio_deregister(char *devname);
+int stdio_deregister(const char *devname);
#endif
struct list_head* stdio_get_list(void);
-struct stdio_dev* stdio_get_by_name(char* name);
+struct stdio_dev* stdio_get_by_name(const char* name);
struct stdio_dev* stdio_clone(struct stdio_dev *dev);
#ifdef CONFIG_ARM_DCC_MULTI