Commit db6bb5c6 authored by Felix Fietkau's avatar Felix Fietkau

mt76: include linux/module.h in files using MODULE_*

Fix source files using MODULE_* macros without including linux/module.h
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 1f4db1fd
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <linux/module.h>
#include <linux/of.h> #include <linux/of.h>
#include <linux/mtd/mtd.h> #include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h> #include <linux/mtd/partitions.h>
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <linux/module.h>
#include <linux/firmware.h> #include <linux/firmware.h>
#include "mt76.h" #include "mt76.h"
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <linux/module.h>
#include "mt76.h" #include "mt76.h"
#include "mt76x02_dma.h" #include "mt76x02_dma.h"
#include "mt76x02_regs.h" #include "mt76x02_regs.h"
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <linux/module.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
#include "mt76x2.h" #include "mt76x2.h"
#include "mt76x2_eeprom.h" #include "mt76x2_eeprom.h"
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include <linux/module.h>
#include "mt76.h" #include "mt76.h"
#include "usb_trace.h" #include "usb_trace.h"
#include "dma.h" #include "dma.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment