summaryrefslogtreecommitdiffstats
path: root/sys/dev/mwl/mwlhal.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mwl/mwlhal.h')
-rw-r--r--sys/dev/mwl/mwlhal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/mwl/mwlhal.h b/sys/dev/mwl/mwlhal.h
index 25b8b07..087effa 100644
--- a/sys/dev/mwl/mwlhal.h
+++ b/sys/dev/mwl/mwlhal.h
@@ -71,15 +71,13 @@ enum {
MWL_WME_AC_VO = 3, /* voice access category */
};
-struct device;
-
struct mwl_hal {
bus_space_handle_t mh_ioh; /* BAR 1 copied from softc */
bus_space_tag_t mh_iot;
uint32_t mh_imask; /* interrupt mask */
/* remainder is opaque to driver */
};
-struct mwl_hal *mwl_hal_attach(struct device *dev, uint16_t devid,
+struct mwl_hal *mwl_hal_attach(device_t dev, uint16_t devid,
bus_space_handle_t ioh, bus_space_tag_t iot, bus_dma_tag_t tag);
void mwl_hal_detach(struct mwl_hal *);
OpenPOWER on IntegriCloud