提交 b488a5ed 编写于 作者: N Nicolas Pitre 提交者: Russell King

[ARM] 4954/1: Orion: fix some function section mismatch

Without this, lspci won't work.
Signed-off-by: NNicolas Pitre <nico@marvell.com>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 bee036b5
......@@ -41,7 +41,7 @@ void __init orion5x_pcie_id(u32 *dev, u32 *rev)
*rev = orion_pcie_rev(PCIE_BASE);
}
int orion5x_pcie_local_bus_nr(void)
int __init orion5x_pcie_local_bus_nr(void)
{
return orion_pcie_get_local_bus_nr(PCIE_BASE);
}
......
......@@ -57,12 +57,12 @@ u32 __init orion_pcie_rev(void __iomem *base)
return readl(base + PCIE_DEV_REV_OFF) & 0xff;
}
int __init orion_pcie_link_up(void __iomem *base)
int orion_pcie_link_up(void __iomem *base)
{
return !(readl(base + PCIE_STAT_OFF) & PCIE_STAT_LINK_DOWN);
}
int __init orion_pcie_get_local_bus_nr(void __iomem *base)
int orion_pcie_get_local_bus_nr(void __iomem *base)
{
u32 stat = readl(base + PCIE_STAT_OFF);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册