PNP: set IRQ index in sysfs "set irq" interface
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 12 May 2008 21:02:18 +0000 (14:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 May 2008 15:02:24 +0000 (08:02 -0700)
commitf2a5f24a279a21229e8c42198e21e2c8ce289129
treea81305462f73c5d6a6077e21ab3e2b32a8be13aa
parent460817b9d45be7b2a50e1e24eb91b4aa0c435a09
PNP: set IRQ index in sysfs "set irq" interface

We have to set the ISAPNP register index when setting an IRQ via the sysfs
interface.  We already do it for IO, MEM, and DMA resources; I just missed the
IRQ one.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pnp/interface.c