projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c29d876
)
PCI: aardvark: Drop __maybe_unused from advk_pcie_disable_phy()
author
Marek Behún
<kabel@kernel.org>
Wed, 4 May 2022 16:57:54 +0000
(18:57 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 12 May 2022 10:30:34 +0000
(12:30 +0200)
commit
0c36ab437e1d94b6628b006a1d48f05ea3b0b222
upstream.
This function is now always used in driver remove method, drop the
__maybe_unused attribute.
Link:
https://lore.kernel.org/r/20220110015018.26359-22-kabel@kernel.org
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/pci-aardvark.c
patch
|
blob
|
history
diff --git
a/drivers/pci/controller/pci-aardvark.c
b/drivers/pci/controller/pci-aardvark.c
index
58b92df
..
669663f
100644
(file)
--- a/
drivers/pci/controller/pci-aardvark.c
+++ b/
drivers/pci/controller/pci-aardvark.c
@@
-1605,7
+1605,7
@@
static int advk_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
return of_irq_parse_and_map_pci(dev, slot, pin);
}
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);
{
phy_power_off(pcie->phy);
phy_exit(pcie->phy);