diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-21 11:33:36 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-21 11:33:36 -0800 |
commit | 96461fdb3ace6753d29eaa43387bcd6d540710e9 (patch) | |
tree | 939be083f993627d1e301c3cc78955d4768c11a9 /arch/cris/arch-v10/kernel/debugport.c | |
parent | 278e5acae1321978686e85ca92906054a36aa19b (diff) | |
parent | f9f3f864b5e8c09d7837d8980edba4ad52969819 (diff) | |
download | op-kernel-dev-96461fdb3ace6753d29eaa43387bcd6d540710e9.zip op-kernel-dev-96461fdb3ace6753d29eaa43387bcd6d540710e9.tar.gz |
Merge tag 'cris-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/jesper/cris
Pull CRIS updates from Jesper Nilsson:
"Just some fixups for section mismatches from Guenter"
* tag 'cris-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/jesper/cris:
cris: Fix section mismatches in architecture startup code
cris: debugport: Fix section mismatches
Diffstat (limited to 'arch/cris/arch-v10/kernel/debugport.c')
-rw-r--r-- | arch/cris/arch-v10/kernel/debugport.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/cris/arch-v10/kernel/debugport.c b/arch/cris/arch-v10/kernel/debugport.c index 7d307cc..b6549e5 100644 --- a/arch/cris/arch-v10/kernel/debugport.c +++ b/arch/cris/arch-v10/kernel/debugport.c @@ -468,7 +468,7 @@ etrax_console_device(struct console* co, int *index) #endif } -static struct console sercons = { +static struct console ser_console = { name : "ttyS", write: console_write, read : NULL, @@ -480,7 +480,7 @@ static struct console sercons = { cflag : 0, next : NULL }; -static struct console sercons0 = { +static struct console ser0_console = { name : "ttyS", write: console_write, read : NULL, @@ -493,7 +493,7 @@ static struct console sercons0 = { next : NULL }; -static struct console sercons1 = { +static struct console ser1_console = { name : "ttyS", write: console_write, read : NULL, @@ -505,7 +505,7 @@ static struct console sercons1 = { cflag : 0, next : NULL }; -static struct console sercons2 = { +static struct console ser2_console = { name : "ttyS", write: console_write, read : NULL, @@ -517,7 +517,7 @@ static struct console sercons2 = { cflag : 0, next : NULL }; -static struct console sercons3 = { +static struct console ser3_console = { name : "ttyS", write: console_write, read : NULL, @@ -539,17 +539,17 @@ init_etrax_debug(void) static int first = 1; if (!first) { - unregister_console(&sercons); - register_console(&sercons0); - register_console(&sercons1); - register_console(&sercons2); - register_console(&sercons3); + unregister_console(&ser_console); + register_console(&ser0_console); + register_console(&ser1_console); + register_console(&ser2_console); + register_console(&ser3_console); init_dummy_console(); return 0; } first = 0; - register_console(&sercons); + register_console(&ser_console); start_port(port); #ifdef CONFIG_ETRAX_KGDB start_port(kgdb_port); |