|
@@ -424,7 +424,7 @@ pnp_set_current_resources(struct device *dmdev, struct device_attribute *attr,
|
|
start = simple_strtoul(buf, &buf, 0);
|
|
start = simple_strtoul(buf, &buf, 0);
|
|
pnp_res = pnp_add_irq_resource(dev, start, 0);
|
|
pnp_res = pnp_add_irq_resource(dev, start, 0);
|
|
if (pnp_res)
|
|
if (pnp_res)
|
|
- nirq++;
|
|
|
|
|
|
+ pnp_res->index = nirq++;
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
if (!strnicmp(buf, "dma", 3)) {
|
|
if (!strnicmp(buf, "dma", 3)) {
|