Author: adrian
Date: Mon May  2 04:15:15 2016
New Revision: 298915
URL: https://svnweb.freebsd.org/changeset/base/298915

Log:
  [mwl] s/struct device/device_t/
  
  Submitted by: kmacy

Modified:
  head/sys/dev/mwl/if_mwlvar.h
  head/sys/dev/mwl/mwlhal.h

Modified: head/sys/dev/mwl/if_mwlvar.h
==============================================================================
--- head/sys/dev/mwl/if_mwlvar.h        Mon May  2 02:15:05 2016        
(r298914)
+++ head/sys/dev/mwl/if_mwlvar.h        Mon May  2 04:15:15 2016        
(r298915)
@@ -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>

Modified: head/sys/dev/mwl/mwlhal.h
==============================================================================
--- head/sys/dev/mwl/mwlhal.h   Mon May  2 02:15:05 2016        (r298914)
+++ head/sys/dev/mwl/mwlhal.h   Mon May  2 04:15:15 2016        (r298915)
@@ -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 *);
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to