patch-2.4.23 linux-2.4.23/drivers/pnp/isapnp.c
Next file: linux-2.4.23/drivers/s390/net/ctctty.c
Previous file: linux-2.4.23/drivers/pcmcia/i82365.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/pnp/isapnp.c
- Orig date:
2002-11-28 15:53:14.000000000 -0800
diff -urN linux-2.4.22/drivers/pnp/isapnp.c linux-2.4.23/drivers/pnp/isapnp.c
@@ -510,7 +510,6 @@
int dependent, int size)
{
unsigned char tmp[3];
- int i;
struct isapnp_irq *irq, *ptr;
isapnp_peek(tmp, size);
@@ -538,9 +537,13 @@
else
(*res)->irq = irq;
#ifdef CONFIG_PCI
- for (i=0; i<16; i++)
- if (irq->map & (1<<i))
- pcibios_penalize_isa_irq(i);
+ {
+ int i;
+
+ for (i=0; i<16; i++)
+ if (irq->map & (1<<i))
+ pcibios_penalize_isa_irq(i);
+ }
#endif
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)