Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7798
b: refs/heads/master
c: a9bd53b
h: refs/heads/master
v: v3
  • Loading branch information
Kenji Kaneshige authored and Len Brown committed Aug 5, 2005
1 parent 1e9231f commit a2824cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 349f0d5640c18db09a646f9da51a97f1da908660
refs/heads/master: a9bd53bc49ee8984633e57c1d9d45111c58e9457
8 changes: 6 additions & 2 deletions trunk/drivers/char/hpet.c
Original file line number Diff line number Diff line change
Expand Up @@ -906,11 +906,15 @@ static acpi_status hpet_resources(struct acpi_resource *res, void *data)
if (irqp->number_of_interrupts > 0) {
hdp->hd_nirqs = irqp->number_of_interrupts;

for (i = 0; i < hdp->hd_nirqs; i++)
hdp->hd_irq[i] =
for (i = 0; i < hdp->hd_nirqs; i++) {
int rc =
acpi_register_gsi(irqp->interrupts[i],
irqp->edge_level,
irqp->active_high_low);
if (rc < 0)
return AE_ERROR;
hdp->hd_irq[i] = rc;
}
}
}

Expand Down

0 comments on commit a2824cf

Please sign in to comment.