From 869ba618ef54541813145240e92fdeaf8eb9c83e Mon Sep 17 00:00:00 2001 From: Markus Theil Date: Fri, 12 Jun 2020 10:05:23 +0200 Subject: [PATCH] mt76: fix include in pci.h kernel test robot 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 Signed-off-by: Felix Fietkau --- pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pci.c b/pci.c index 04c5a692..4c1c159f 100644 --- a/pci.c +++ b/pci.c @@ -3,6 +3,7 @@ * Copyright (C) 2019 Lorenzo Bianconi */ +#include "mt76.h" #include void mt76_pci_disable_aspm(struct pci_dev *pdev)