Re: [U-Boot] [PATCH v1 2/5] serial: constify serial_assign()

2011-12-05 Thread Wolfgang Denk
Dear Gerlando Falauto,

In message <1321634955-5561-3-git-send-email-gerlando.fala...@keymile.com> you 
wrote:
> Signed-off-by: Gerlando Falauto 
> ---
>  common/serial.c  |2 +-
>  include/serial.h |2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
The human mind  ordinarily  operates  at  only  ten  percent  of  its
capacity. The rest is overhead for the operating system.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH v1 2/5] serial: constify serial_assign()

2011-11-18 Thread Mike Frysinger
Acked-by: Mike Frysinger 
-mike


signature.asc
Description: This is a digitally signed message part.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v1 2/5] serial: constify serial_assign()

2011-11-18 Thread Gerlando Falauto
Signed-off-by: Gerlando Falauto 
---
 common/serial.c  |2 +-
 include/serial.h |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/serial.c b/common/serial.c
index 03bbb19..75cc1bb 100644
--- a/common/serial.c
+++ b/common/serial.c
@@ -149,7 +149,7 @@ void serial_stdio_init(void)
}
 }
 
-int serial_assign(char *name)
+int serial_assign(const char *name)
 {
struct serial_device *s;
 
diff --git a/include/serial.h b/include/serial.h
index 9d623ca..fbc1036 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -93,7 +93,7 @@ extern struct serial_device bfin_serial3_device;
 extern void serial_register(struct serial_device *);
 extern void serial_initialize(void);
 extern void serial_stdio_init(void);
-extern int serial_assign(char *name);
+extern int serial_assign(const char *name);
 extern void serial_reinit_all(void);
 
 /* For usbtty */
-- 
1.7.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot