Merge remote-tracking branch 'omap_dss2/for-next'
[deliverable/linux.git] / drivers / net / wireless / mediatek / mt7601u / mt7601u.h
index 428bd2f10b7b3450a2afbdafd988254db44920c7..c7ec40475a5f3a52e485f333ea86f7b0ad8ea9ed 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef MT7601U_H
 #define MT7601U_H
 
+#include <linux/bitfield.h>
 #include <linux/kernel.h>
 #include <linux/device.h>
 #include <linux/mutex.h>
@@ -24,7 +25,6 @@
 #include <linux/debugfs.h>
 
 #include "regs.h"
-#include "util.h"
 
 #define MT_CALIBRATE_INTERVAL          (4 * HZ)
 
@@ -299,7 +299,7 @@ bool mt76_poll_msec(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val,
 
 /* Compatibility with mt76 */
 #define mt76_rmw_field(_dev, _reg, _field, _val)       \
-       mt76_rmw(_dev, _reg, _field, MT76_SET(_field, _val))
+       mt76_rmw(_dev, _reg, _field, FIELD_PREP(_field, _val))
 
 static inline u32 mt76_rr(struct mt7601u_dev *dev, u32 offset)
 {
This page took 0.025423 seconds and 5 git commands to generate.