diff options
Diffstat (limited to 'arch/m68k/amiga')
-rw-r--r-- | arch/m68k/amiga/amiints.c | 2 | ||||
-rw-r--r-- | arch/m68k/amiga/cia.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/amiga/amiints.c b/arch/m68k/amiga/amiints.c index 28d95cfe8ac0..907a5533c845 100644 --- a/arch/m68k/amiga/amiints.c +++ b/arch/m68k/amiga/amiints.c | |||
@@ -54,7 +54,7 @@ static irqreturn_t ami_int5(int irq, void *dev_id); | |||
54 | 54 | ||
55 | static struct irq_controller amiga_irq_controller = { | 55 | static struct irq_controller amiga_irq_controller = { |
56 | .name = "amiga", | 56 | .name = "amiga", |
57 | .lock = SPIN_LOCK_UNLOCKED, | 57 | .lock = __SPIN_LOCK_UNLOCKED(amiga_irq_controller.lock), |
58 | .enable = amiga_enable_irq, | 58 | .enable = amiga_enable_irq, |
59 | .disable = amiga_disable_irq, | 59 | .disable = amiga_disable_irq, |
60 | }; | 60 | }; |
diff --git a/arch/m68k/amiga/cia.c b/arch/m68k/amiga/cia.c index 7a20058eb380..c4a4ffd45bc0 100644 --- a/arch/m68k/amiga/cia.c +++ b/arch/m68k/amiga/cia.c | |||
@@ -123,7 +123,7 @@ static void cia_disable_irq(unsigned int irq) | |||
123 | 123 | ||
124 | static struct irq_controller cia_irq_controller = { | 124 | static struct irq_controller cia_irq_controller = { |
125 | .name = "cia", | 125 | .name = "cia", |
126 | .lock = SPIN_LOCK_UNLOCKED, | 126 | .lock = __SPIN_LOCK_UNLOCKED(cia_irq_controller.lock), |
127 | .enable = cia_enable_irq, | 127 | .enable = cia_enable_irq, |
128 | .disable = cia_disable_irq, | 128 | .disable = cia_disable_irq, |
129 | }; | 129 | }; |
@@ -160,7 +160,7 @@ static void auto_disable_irq(unsigned int irq) | |||
160 | 160 | ||
161 | static struct irq_controller auto_irq_controller = { | 161 | static struct irq_controller auto_irq_controller = { |
162 | .name = "auto", | 162 | .name = "auto", |
163 | .lock = SPIN_LOCK_UNLOCKED, | 163 | .lock = __SPIN_LOCK_UNLOCKED(auto_irq_controller.lock), |
164 | .enable = auto_enable_irq, | 164 | .enable = auto_enable_irq, |
165 | .disable = auto_disable_irq, | 165 | .disable = auto_disable_irq, |
166 | }; | 166 | }; |