[mwl] s/struct device/device_t/

Submitted by:	kmacy
This commit is contained in:
Adrian Chadd 2016-05-02 04:15:15 +00:00
parent e9fc928faa
commit dd8a5c3593
2 changed files with 2 additions and 3 deletions

View File

@ -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>

View File

@ -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 *);