summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/intel_mid_pci.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-07-29 11:16:49 +0200
committerThomas Gleixner <tglx@linutronix.de>2015-07-29 21:23:50 +0200
commit0abbdea1e9592fba120521ce22c6c26301e72761 (patch)
tree775025ce01c17f57ba9615ced99f3e7db320bd35 /arch/x86/pci/intel_mid_pci.c
parentx86/pci/intel_mid_pci: Propagate actual return code (diff)
downloadlinux-0abbdea1e9592fba120521ce22c6c26301e72761.tar.xz
linux-0abbdea1e9592fba120521ce22c6c26301e72761.zip
x86/pci/intel_mid_pci: Make intel_mid_pci_ops static
This fixes the following sparse warning. arch/x86/pci/intel_mid_pci.c:265:16: warning: symbol 'intel_mid_pci_ops' was not declared. Should it be static? Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Bjorn Helgaas <bhelgaas@google.com> Link: http://lkml.kernel.org/r/1438161409-4671-4-git-send-email-andriy.shevchenko@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/pci/intel_mid_pci.c')
-rw-r--r--arch/x86/pci/intel_mid_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/intel_mid_pci.c b/arch/x86/pci/intel_mid_pci.c
index 3361f0aab61c..b096da523794 100644
--- a/arch/x86/pci/intel_mid_pci.c
+++ b/arch/x86/pci/intel_mid_pci.c
@@ -263,7 +263,7 @@ static void intel_mid_pci_irq_disable(struct pci_dev *dev)
}
}
-struct pci_ops intel_mid_pci_ops = {
+static struct pci_ops intel_mid_pci_ops = {
.read = pci_read,
.write = pci_write,
};