aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-07-29 05:16:49 -0400
committerThomas Gleixner <tglx@linutronix.de>2015-07-29 15:23:50 -0400
commit0abbdea1e9592fba120521ce22c6c26301e72761 (patch)
tree775025ce01c17f57ba9615ced99f3e7db320bd35
parent2a61c8eaf1879db99286c3f5fe5e78086c7edb85 (diff)
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>
-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)
263 } 263 }
264} 264}
265 265
266struct pci_ops intel_mid_pci_ops = { 266static struct pci_ops intel_mid_pci_ops = {
267 .read = pci_read, 267 .read = pci_read,
268 .write = pci_write, 268 .write = pci_write,
269}; 269};