Commit e39da597 authored by Markus Theil's avatar Markus Theil Committed by Felix Fietkau

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: default avatarMarkus Theil <markus.theil@tu-ilmenau.de>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 9da82fb7
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* Copyright (C) 2019 Lorenzo Bianconi <lorenzo@kernel.org> * Copyright (C) 2019 Lorenzo Bianconi <lorenzo@kernel.org>
*/ */
#include "mt76.h"
#include <linux/pci.h> #include <linux/pci.h>
void mt76_pci_disable_aspm(struct pci_dev *pdev) void mt76_pci_disable_aspm(struct pci_dev *pdev)
......
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