* [PATCH] PCI: dwc: Do not export local function dw_pcie_link_set_max_speed
@ 2020-09-10 1:39 Tian Tao
0 siblings, 0 replies; only message in thread
From: Tian Tao @ 2020-09-10 1:39 UTC (permalink / raw)
To: jingoohan1, gustavo.pimentel, lorenzo.pieralisi, robh, bhelgaas,
linux-pci
Cc: linuxarm
WARNING: modpost: "dw_pcie_link_set_max_speed" [vmlinux] is a static
EXPORT_SYMBOL_GPL
Fixes: 3af45d34d30c ("PCI: dwc: Centralize link gen setting")
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
---
drivers/pci/controller/dwc/pcie-designware.c | 1 -
mm/madvise.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/pci/controller/dwc/pcie-designware.c b/drivers/pci/controller/dwc/pcie-designware.c
index 4d105ef..3c3a4d1 100644
--- a/drivers/pci/controller/dwc/pcie-designware.c
+++ b/drivers/pci/controller/dwc/pcie-designware.c
@@ -508,7 +508,6 @@ static void dw_pcie_link_set_max_speed(struct dw_pcie *pci, u32 link_gen)
dw_pcie_writel_dbi(pci, offset + PCI_EXP_LNKCAP, cap | link_speed);
}
-EXPORT_SYMBOL_GPL(dw_pcie_link_set_max_speed);
static u8 dw_pcie_iatu_unroll_enabled(struct dw_pcie *pci)
{
diff --git a/mm/madvise.c b/mm/madvise.c
index c5acc2b..8c175f9 100644
--- a/mm/madvise.c
+++ b/mm/madvise.c
@@ -30,7 +30,6 @@
#include <linux/swapops.h>
#include <linux/shmem_fs.h>
#include <linux/mmu_notifier.h>
-#include <linux/sched/mm.h>
#include <asm/tlb.h>
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-10 2:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 1:39 [PATCH] PCI: dwc: Do not export local function dw_pcie_link_set_max_speed Tian Tao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).