summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/nic.c2
-rw-r--r--src/include/nic.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nic.c b/src/core/nic.c
index 8b9d64d1..dd02060f 100644
--- a/src/core/nic.c
+++ b/src/core/nic.c
@@ -380,7 +380,7 @@ int dummy_connect ( struct nic *nic __unused ) {
return 1;
}
-int dummy_irq ( struct nic *nic __unused ) {
+int dummy_irq ( struct nic *nic __unused, irq_action_t irq_action __unused ) {
return 1;
}
diff --git a/src/include/nic.h b/src/include/nic.h
index 439e5a90..02fcafc1 100644
--- a/src/include/nic.h
+++ b/src/include/nic.h
@@ -52,7 +52,7 @@ struct nic_operations {
struct dev;
extern struct nic * nic_device ( struct dev * dev );
extern int dummy_connect ( struct nic *nic );
-extern int dummy_irq ( struct nic *nic );
+extern void dummy_irq ( struct nic *nic, irq_action_t irq_action );
/*
* Functions that implicitly operate on the current boot device