diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-03-29 01:50:16 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:55:37 -0700 |
commit | a165b4205e0097c7544ec3c59522a3b20ec14eb1 (patch) | |
tree | 6c4608555770b122c511d740f0180b796f75bf9b /arch/sparc64/kernel/pci_schizo.c | |
parent | f1cfdb55f16596752e8a61a8570a90ee26af183a (diff) | |
download | op-kernel-dev-a165b4205e0097c7544ec3c59522a3b20ec14eb1.zip op-kernel-dev-a165b4205e0097c7544ec3c59522a3b20ec14eb1.tar.gz |
[SPARC64]: Fix PCI rework to adhere to of_get_property() const return.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_schizo.c')
-rw-r--r-- | arch/sparc64/kernel/pci_schizo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/pci_schizo.c b/arch/sparc64/kernel/pci_schizo.c index 322cdbf..47a5aa9 100644 --- a/arch/sparc64/kernel/pci_schizo.c +++ b/arch/sparc64/kernel/pci_schizo.c @@ -1490,11 +1490,11 @@ static void schizo_pbm_init(struct pci_controller_info *p, struct device_node *dp, u32 portid, int chip_type) { - struct linux_prom64_registers *regs; - unsigned int *busrange; + const struct linux_prom64_registers *regs; + const unsigned int *busrange; struct pci_pbm_info *pbm; const char *chipset_name; - u32 *ino_bitmap; + const u32 *ino_bitmap; int is_pbm_a; switch (chip_type) { |