diff options
author | Michael Brown | 2005-04-13 03:28:43 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-13 03:28:43 +0200 |
commit | f16ac2d87e07e4501adca963b01835ec15514f9a (patch) | |
tree | 03830011d60b83d19386b3a41cc328803ec82201 | |
parent | Finished by hand (diff) | |
download | ipxe-f16ac2d87e07e4501adca963b01835ec15514f9a.tar.gz ipxe-f16ac2d87e07e4501adca963b01835ec15514f9a.tar.xz ipxe-f16ac2d87e07e4501adca963b01835ec15514f9a.zip |
Fix type of dummy_irq()
-rw-r--r-- | src/core/nic.c | 2 | ||||
-rw-r--r-- | src/include/nic.h | 2 |
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 |