]> git.sur5r.net Git - u-boot/blobdiff - common/stdio.c
powerpc/85xx: Removed P1/P2 RDB RevB support
[u-boot] / common / stdio.c
index ab7c5abde1bbe3c0eb4048b07c7b390ef47adaec..b20772c45d7f05d550a358fcbf1755c501e6e5b9 100644 (file)
@@ -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;