1 From a511c99262ce19ee06908d27212b39ec4c5aeb17 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <kabel@kernel.org>
3 Date: Wed, 8 Dec 2021 04:40:29 +0100
4 Subject: [PATCH] PCI: aardvark: Drop __maybe_unused from
5 advk_pcie_disable_phy()
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 This function is now always used in driver remove method, drop the
11 __maybe_unused attribute.
13 Signed-off-by: Marek BehĂșn <kabel@kernel.org>
15 drivers/pci/controller/pci-aardvark.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
18 diff --git a/drivers/pci/controller/pci-aardvark.c b/drivers/pci/controller/pci-aardvark.c
19 index e090276ef902..aa5629b8b5c9 100644
20 --- a/drivers/pci/controller/pci-aardvark.c
21 +++ b/drivers/pci/controller/pci-aardvark.c
22 @@ -1618,7 +1618,7 @@ static int advk_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
23 return of_irq_parse_and_map_pci(dev, slot, pin);
26 -static void __maybe_unused advk_pcie_disable_phy(struct advk_pcie *pcie)
27 +static void advk_pcie_disable_phy(struct advk_pcie *pcie)
29 phy_power_off(pcie->phy);