c10352ebfd49e5a7891c106f9c2bb45a7a51a4b7
[openwrt/staging/chunkeey.git] /
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()
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 This function is now always used in driver remove method, drop the
11 __maybe_unused attribute.
12
13 Signed-off-by: Marek BehĂșn <kabel@kernel.org>
14 ---
15 drivers/pci/controller/pci-aardvark.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 --- a/drivers/pci/controller/pci-aardvark.c
19 +++ b/drivers/pci/controller/pci-aardvark.c
20 @@ -1612,7 +1612,7 @@ static int advk_pcie_map_irq(const struc
21 return of_irq_parse_and_map_pci(dev, slot, pin);
22 }
23
24 -static void __maybe_unused advk_pcie_disable_phy(struct advk_pcie *pcie)
25 +static void advk_pcie_disable_phy(struct advk_pcie *pcie)
26 {
27 phy_power_off(pcie->phy);
28 phy_exit(pcie->phy);