diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2010-03-24 16:59:30 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2010-03-26 13:56:59 +0900 |
commit | 0f1f21a345e02a68ec16f7ab9e7dc687f9276089 (patch) | |
tree | 586c95f2522b6da4d8a4a0e644afe6304c336e92 /common | |
parent | 8677f127d68e9fa0c7a7af39f737c4231a98ab09 (diff) | |
download | u-boot-imx-0f1f21a345e02a68ec16f7ab9e7dc687f9276089.zip u-boot-imx-0f1f21a345e02a68ec16f7ab9e7dc687f9276089.tar.gz u-boot-imx-0f1f21a345e02a68ec16f7ab9e7dc687f9276089.tar.bz2 |
SAMSUNG: serial: modify name from s5pc1xx to s5p
Because of other s5p series SoC will use these serial functions,
modify function's name and structure's name.
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/serial.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/common/serial.c b/common/serial.c index 5f9ffd7..94e1921 100644 --- a/common/serial.c +++ b/common/serial.c @@ -71,13 +71,13 @@ struct serial_device *__default_serial_console (void) #endif #elif defined(CONFIG_S5PC1XX) #if defined(CONFIG_SERIAL0) - return &s5pc1xx_serial0_device; + return &s5p_serial0_device; #elif defined(CONFIG_SERIAL1) - return &s5pc1xx_serial1_device; + return &s5p_serial1_device; #elif defined(CONFIG_SERIAL2) - return &s5pc1xx_serial2_device; + return &s5p_serial2_device; #elif defined(CONFIG_SERIAL3) - return &s5pc1xx_serial3_device; + return &s5p_serial3_device; #else #error "CONFIG_SERIAL? missing." #endif @@ -154,10 +154,10 @@ void serial_initialize (void) serial_register(&s3c24xx_serial2_device); #endif #if defined(CONFIG_S5PC1XX) - serial_register(&s5pc1xx_serial0_device); - serial_register(&s5pc1xx_serial1_device); - serial_register(&s5pc1xx_serial2_device); - serial_register(&s5pc1xx_serial3_device); + serial_register(&s5p_serial0_device); + serial_register(&s5p_serial1_device); + serial_register(&s5p_serial2_device); + serial_register(&s5p_serial3_device); #endif serial_assign (default_serial_console ()->name); } |