Removed upstreamed: backport-5.10/850-v5.17-0004-PCI-aardvark-Clear-all-MSIs-at-setup.patch pending-5.10/850-0002-PCI-aardvark-Fix-reading-MSI-interrupt-number.patch All other patches automatically rebased. Build system: x86_64 Build-tested: bcm2711/RPi4B Signed-off-by: John Audia <therealgraysky@proton.me>
28 lines
971 B
Diff
28 lines
971 B
Diff
From a511c99262ce19ee06908d27212b39ec4c5aeb17 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <kabel@kernel.org>
|
|
Date: Wed, 8 Dec 2021 04:40:29 +0100
|
|
Subject: [PATCH] PCI: aardvark: Drop __maybe_unused from
|
|
advk_pcie_disable_phy()
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
This function is now always used in driver remove method, drop the
|
|
__maybe_unused attribute.
|
|
|
|
Signed-off-by: Marek Behún <kabel@kernel.org>
|
|
---
|
|
drivers/pci/controller/pci-aardvark.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/pci/controller/pci-aardvark.c
|
|
+++ b/drivers/pci/controller/pci-aardvark.c
|
|
@@ -1617,7 +1617,7 @@ static int advk_pcie_map_irq(const struc
|
|
return of_irq_parse_and_map_pci(dev, slot, pin);
|
|
}
|
|
|
|
-static void __maybe_unused advk_pcie_disable_phy(struct advk_pcie *pcie)
|
|
+static void advk_pcie_disable_phy(struct advk_pcie *pcie)
|
|
{
|
|
phy_power_off(pcie->phy);
|
|
phy_exit(pcie->phy);
|