diff --git a/sys/dev/mwl/if_mwlvar.h b/sys/dev/mwl/if_mwlvar.h index 4a4b338239e5..2792b9c9db99 100644 --- a/sys/dev/mwl/if_mwlvar.h +++ b/sys/dev/mwl/if_mwlvar.h @@ -37,6 +37,7 @@ #define _DEV_MWL_MVVAR_H #include +#include #include #include #include diff --git a/sys/dev/mwl/mwlhal.h b/sys/dev/mwl/mwlhal.h index 25b8b07c48d9..087effa5a722 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 *);