summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ed/if_ed_isa.c7
-rw-r--r--sys/dev/ed/if_ed_pci.c2
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/ed/if_ed_isa.c b/sys/dev/ed/if_ed_isa.c
index 453fd1b..af365f2 100644
--- a/sys/dev/ed/if_ed_isa.c
+++ b/sys/dev/ed/if_ed_isa.c
@@ -49,8 +49,8 @@ __FBSDID("$FreeBSD$");
#include <dev/ed/if_edvar.h>
-static int ed_isa_probe (device_t);
-static int ed_isa_attach (device_t);
+static int ed_isa_probe(device_t);
+static int ed_isa_attach(device_t);
static struct isa_pnp_id ed_ids[] = {
{ 0x1684a34d, NULL }, /* SMC8416 */
@@ -145,8 +145,7 @@ end:
}
static int
-ed_isa_attach(dev)
- device_t dev;
+ed_isa_attach(device_t dev)
{
struct ed_softc *sc = device_get_softc(dev);
int error;
diff --git a/sys/dev/ed/if_ed_pci.c b/sys/dev/ed/if_ed_pci.c
index c47bb95..0368791 100644
--- a/sys/dev/ed/if_ed_pci.c
+++ b/sys/dev/ed/if_ed_pci.c
@@ -96,7 +96,7 @@ ed_pci_attach(device_t dev)
}
error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET,
- edintr, sc, &sc->irq_handle);
+ edintr, sc, &sc->irq_handle);
if (error) {
ed_release_resources(dev);
return (error);
OpenPOWER on IntegriCloud