diff options
author | Markus Theil <markus.theil@tu-ilmenau.de> | 2020-06-12 10:05:23 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-07-21 19:01:14 +0200 |
commit | e39da597e5782a5fcdad0c23dee61dbe05d327b8 (patch) | |
tree | 00f085854a28a4e7b4b8d3edc2d07029a080f6b9 /drivers/net/wireless/mediatek/mt76/pci.c | |
parent | mt76: allow more channels, allowed in ETSI domain (diff) | |
download | linux-e39da597e5782a5fcdad0c23dee61dbe05d327b8.tar.xz linux-e39da597e5782a5fcdad0c23dee61dbe05d327b8.zip |
mt76: fix include in pci.h
kernel test robot <lkp@intel.com> found the following issue
and Kalle Valo forwarded it to Linux wireless.
drivers/net/wireless/mediatek/mt76/pci.c:8:6:
warning: no previous prototype for 'mt76_pci_disable_aspm'
Fix this by adding the missing include of mt76.h as Kalle
suggested.
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/pci.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/pci.c b/drivers/net/wireless/mediatek/mt76/pci.c index 04c5a692bc85..4c1c159fbb62 100644 --- a/drivers/net/wireless/mediatek/mt76/pci.c +++ b/drivers/net/wireless/mediatek/mt76/pci.c @@ -3,6 +3,7 @@ * Copyright (C) 2019 Lorenzo Bianconi <lorenzo@kernel.org> */ +#include "mt76.h" #include <linux/pci.h> void mt76_pci_disable_aspm(struct pci_dev *pdev) |