提交 492d98e4 编写于 作者: F Fengguang Wu 提交者: Lorenzo Pieralisi

PCI: faraday: Make struct faraday_pci_variant static

This was generated from 0-day builder.
Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
[lorenzo.pieralisi@arm.com: reworked/split patch]
Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
上级 e734016d
...@@ -586,11 +586,11 @@ static int faraday_pci_probe(struct platform_device *pdev) ...@@ -586,11 +586,11 @@ static int faraday_pci_probe(struct platform_device *pdev)
* We encode bridge variants here, we have at least two so it doesn't * We encode bridge variants here, we have at least two so it doesn't
* hurt to have infrastructure to encompass future variants as well. * hurt to have infrastructure to encompass future variants as well.
*/ */
const struct faraday_pci_variant faraday_regular = { static const struct faraday_pci_variant faraday_regular = {
.cascaded_irq = true, .cascaded_irq = true,
}; };
const struct faraday_pci_variant faraday_dual = { static const struct faraday_pci_variant faraday_dual = {
.cascaded_irq = false, .cascaded_irq = false,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册