diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-07-29 05:16:49 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-29 15:23:50 -0400 |
commit | 0abbdea1e9592fba120521ce22c6c26301e72761 (patch) | |
tree | 775025ce01c17f57ba9615ced99f3e7db320bd35 | |
parent | 2a61c8eaf1879db99286c3f5fe5e78086c7edb85 (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.c | 2 |
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 | ||
266 | struct pci_ops intel_mid_pci_ops = { | 266 | static 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 | }; |