Commit 89410c3e authored by Wojciech Cieciwa's avatar Wojciech Cieciwa Committed by Linus Torvalds

[PATCH] drivers/cdrom/cdu31a - wrong tmp_irq declaration

cdu31a.c needs tmp_irq outside of the block it is declared in.  Move it
to the outer block.
parent 10451084
...@@ -3316,6 +3316,7 @@ int __init cdu31a_init(void) ...@@ -3316,6 +3316,7 @@ int __init cdu31a_init(void)
char msg[255]; char msg[255];
char buf[40]; char buf[40];
int i; int i;
int tmp_irq;
/* /*
* According to Alex Freed (freed@europa.orion.adobe.com), this is * According to Alex Freed (freed@europa.orion.adobe.com), this is
...@@ -3335,7 +3336,7 @@ int __init cdu31a_init(void) ...@@ -3335,7 +3336,7 @@ int __init cdu31a_init(void)
if (cdu31a_port != 0) { if (cdu31a_port != 0) {
/* Need IRQ 0 because we can't sleep here. */ /* Need IRQ 0 because we can't sleep here. */
int tmp_irq = cdu31a_irq; tmp_irq = cdu31a_irq;
cdu31a_irq = 0; cdu31a_irq = 0;
if (!get_drive_configuration(cdu31a_port, if (!get_drive_configuration(cdu31a_port,
drive_config.exec_status, drive_config.exec_status,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment