PCI: faraday: Make struct faraday_pci_variant static

This was generated from 0-day builder.

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
[lorenzo.pieralisi@arm.com: reworked/split patch]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Fengguang Wu 2018-03-20 17:17:23 +00:00 committed by Lorenzo Pieralisi
parent e734016dd3
commit 492d98e4f8
1 changed files with 2 additions and 2 deletions

View File

@ -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
* 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,
};
const struct faraday_pci_variant faraday_dual = {
static const struct faraday_pci_variant faraday_dual = {
.cascaded_irq = false,
};