diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2016-05-02 04:15:15 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2016-05-02 04:15:15 +0000 |
commit | dd8a5c3593ffeead8128aea15a8361cb6b1e695f (patch) | |
tree | 5cefd94c26d46da50bb3f40b8f73b6e30d6eeaf7 /sys/dev/mwl | |
parent | e9fc928faa27adcec578875da43c8225af599b95 (diff) | |
download | src-dd8a5c3593ffeead8128aea15a8361cb6b1e695f.tar.gz src-dd8a5c3593ffeead8128aea15a8361cb6b1e695f.zip |
[mwl] s/struct device/device_t/
Submitted by: kmacy
Notes
Notes:
svn path=/head/; revision=298915
Diffstat (limited to 'sys/dev/mwl')
-rw-r--r-- | sys/dev/mwl/if_mwlvar.h | 1 | ||||
-rw-r--r-- | sys/dev/mwl/mwlhal.h | 4 |
2 files changed, 2 insertions, 3 deletions
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 <sys/endian.h> +#include <sys/bus.h> #include <net80211/ieee80211_radiotap.h> #include <dev/mwl/mwlhal.h> #include <dev/mwl/mwlreg.h> 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 *); |