summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/devices/pnp_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/pnp_device.c b/src/devices/pnp_device.c
index 13f12ee4e4..8acef3b65a 100644
--- a/src/devices/pnp_device.c
+++ b/src/devices/pnp_device.c
@@ -52,7 +52,7 @@ void pnp_set_irq(device_t dev, unsigned index, unsigned irq)
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);