diff options
author | Kyle McMartin <kyle@parisc-linux.org> | 2005-10-21 22:48:03 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@parisc-linux.org> | 2005-10-21 22:48:03 -0400 |
commit | 7efe1611b2db9025ffc52a686897ab91820caeb4 (patch) | |
tree | 83e44db7a424f40cc4259780be029eab4d8d6179 /drivers/parisc | |
parent | 91313d60d8ad96fa79a833e55e8c13b56f893614 (diff) |
[PARISC] Initialize serial spinlocks in superio.c
git commit 976ecd12b8144d066a23fe97c6fbfc1ac8470af7 changed our locking
characteristics, and put the onus of spin_lock_init on superio.c.
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'drivers/parisc')
-rw-r--r-- | drivers/parisc/superio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/parisc/superio.c b/drivers/parisc/superio.c index e0efed796b92..bab3bcabcb6e 100644 --- a/drivers/parisc/superio.c +++ b/drivers/parisc/superio.c | |||
@@ -11,6 +11,7 @@ | |||
11 | * (C) Copyright 2000 Alex deVries <alex@onefishtwo.ca> | 11 | * (C) Copyright 2000 Alex deVries <alex@onefishtwo.ca> |
12 | * (C) Copyright 2001 John Marvin <jsm fc hp com> | 12 | * (C) Copyright 2001 John Marvin <jsm fc hp com> |
13 | * (C) Copyright 2003 Grant Grundler <grundler parisc-linux org> | 13 | * (C) Copyright 2003 Grant Grundler <grundler parisc-linux org> |
14 | * (C) Copyright 2005 Kyle McMartin <kyle@parisc-linux.org> | ||
14 | * | 15 | * |
15 | * This program is free software; you can redistribute it and/or | 16 | * This program is free software; you can redistribute it and/or |
16 | * modify it under the terms of the GNU General Public License as | 17 | * modify it under the terms of the GNU General Public License as |
@@ -405,6 +406,7 @@ static void __devinit superio_serial_init(void) | |||
405 | 406 | ||
406 | serial[0].iobase = sio_dev.sp1_base; | 407 | serial[0].iobase = sio_dev.sp1_base; |
407 | serial[0].irq = SP1_IRQ; | 408 | serial[0].irq = SP1_IRQ; |
409 | spin_lock_init(&serial[0].lock); | ||
408 | 410 | ||
409 | retval = early_serial_setup(&serial[0]); | 411 | retval = early_serial_setup(&serial[0]); |
410 | if (retval < 0) { | 412 | if (retval < 0) { |
@@ -414,6 +416,7 @@ static void __devinit superio_serial_init(void) | |||
414 | 416 | ||
415 | serial[1].iobase = sio_dev.sp2_base; | 417 | serial[1].iobase = sio_dev.sp2_base; |
416 | serial[1].irq = SP2_IRQ; | 418 | serial[1].irq = SP2_IRQ; |
419 | spin_lock_init(&serial[1].lock); | ||
417 | retval = early_serial_setup(&serial[1]); | 420 | retval = early_serial_setup(&serial[1]); |
418 | 421 | ||
419 | if (retval < 0) | 422 | if (retval < 0) |