git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: constify PCI raw ops structures
[pandora-kernel.git]
/
arch
/
x86
/
pci
/
common.c
diff --git
a/arch/x86/pci/common.c
b/arch/x86/pci/common.c
index
92df322
..
7962ccb
100644
(file)
--- a/
arch/x86/pci/common.c
+++ b/
arch/x86/pci/common.c
@@
-33,8
+33,8
@@
int noioapicreroute = 1;
int pcibios_last_bus = -1;
unsigned long pirq_table_addr;
struct pci_bus *pci_root_bus;
int pcibios_last_bus = -1;
unsigned long pirq_table_addr;
struct pci_bus *pci_root_bus;
-
struct pci_raw_ops *
raw_pci_ops;
-
struct pci_raw_ops *
raw_pci_ext_ops;
+
const struct pci_raw_ops *__read_mostly
raw_pci_ops;
+
const struct pci_raw_ops *__read_mostly
raw_pci_ext_ops;
int raw_pci_read(unsigned int domain, unsigned int bus, unsigned int devfn,
int reg, int len, u32 *val)
int raw_pci_read(unsigned int domain, unsigned int bus, unsigned int devfn,
int reg, int len, u32 *val)