summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_sabre.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-03-29 01:50:16 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:55:37 -0700
commita165b4205e0097c7544ec3c59522a3b20ec14eb1 (patch)
tree6c4608555770b122c511d740f0180b796f75bf9b /arch/sparc64/kernel/pci_sabre.c
parentf1cfdb55f16596752e8a61a8570a90ee26af183a (diff)
downloadblackbird-op-linux-a165b4205e0097c7544ec3c59522a3b20ec14eb1.tar.gz
blackbird-op-linux-a165b4205e0097c7544ec3c59522a3b20ec14eb1.zip
[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_sabre.c')
-rw-r--r--arch/sparc64/kernel/pci_sabre.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/pci_sabre.c b/arch/sparc64/kernel/pci_sabre.c
index a2f129d29c20..9a2ce0637c80 100644
--- a/arch/sparc64/kernel/pci_sabre.c
+++ b/arch/sparc64/kernel/pci_sabre.c
@@ -1015,12 +1015,12 @@ static void sabre_pbm_init(struct pci_controller_info *p, struct device_node *dp
void sabre_init(struct device_node *dp, char *model_name)
{
- struct linux_prom64_registers *pr_regs;
+ const struct linux_prom64_registers *pr_regs;
struct pci_controller_info *p;
struct pci_iommu *iommu;
int tsbsize;
- u32 *busrange;
- u32 *vdma;
+ const u32 *busrange;
+ const u32 *vdma;
u32 upa_portid, dma_mask;
u64 clear_irq;
OpenPOWER on IntegriCloud