Correct transposed arguments in pnp_set_drq().
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2013 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/devices/pnp_device.c b/src/devices/pnp_device.c
index 13f12ee..8acef3b 100644
--- a/src/devices/pnp_device.c
+++ b/src/devices/pnp_device.c
@@ -52,7 +52,7 @@
pnp_write_config(dev, index, irq);
}
-void pnp_set_drq(device_t dev, unsigned drq, unsigned index)
+void pnp_set_drq(device_t dev, unsigned index, unsigned drq)
{
/* Index == 0x74 */
pnp_write_config(dev, index, drq & 0xff);