Commit bd12fc9
staging: wilc1000: check for dev_irq_num
Check for dev_irq_number before trying to request the interrupt.
request_threaded_irq() will fail otherwise.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>1 parent 7808c02 commit bd12fc9
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
173 | 176 | | |
174 | 177 | | |
175 | 178 | | |
| |||
182 | 185 | | |
183 | 186 | | |
184 | 187 | | |
185 | | - | |
186 | | - | |
| 188 | + | |
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
| |||
0 commit comments