git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a61c8e
)
x86/pci/intel_mid_pci: Make intel_mid_pci_ops static
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Wed, 29 Jul 2015 09:16:49 +0000
(12:16 +0300)
committer
Thomas Gleixner
<tglx@linutronix.de>
Wed, 29 Jul 2015 19:23:50 +0000
(21:23 +0200)
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>
arch/x86/pci/intel_mid_pci.c
patch
|
blob
|
history
diff --git
a/arch/x86/pci/intel_mid_pci.c
b/arch/x86/pci/intel_mid_pci.c
index
3361f0a
..
b096da5
100644
(file)
--- 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 = {
+st
atic st
ruct pci_ops intel_mid_pci_ops = {
.read = pci_read,
.write = pci_write,
};