diff options
-rw-r--r-- | arch/ppc/platforms/chrp_pci.c | 7 | ||||
-rw-r--r-- | arch/ppc/platforms/chrp_setup.c | 2 | ||||
-rw-r--r-- | include/asm-ppc/hydra.h | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/arch/ppc/platforms/chrp_pci.c b/arch/ppc/platforms/chrp_pci.c index 5bb6492ecf8c..7d0ee308f662 100644 --- a/arch/ppc/platforms/chrp_pci.c +++ b/arch/ppc/platforms/chrp_pci.c | |||
@@ -129,7 +129,7 @@ static struct pci_ops rtas_pci_ops = | |||
129 | rtas_write_config | 129 | rtas_write_config |
130 | }; | 130 | }; |
131 | 131 | ||
132 | volatile struct Hydra *Hydra = NULL; | 132 | volatile struct Hydra __iomem *Hydra = NULL; |
133 | 133 | ||
134 | int __init | 134 | int __init |
135 | hydra_init(void) | 135 | hydra_init(void) |
@@ -175,13 +175,14 @@ chrp_pcibios_fixup(void) | |||
175 | static void __init | 175 | static void __init |
176 | setup_python(struct pci_controller *hose, struct device_node *dev) | 176 | setup_python(struct pci_controller *hose, struct device_node *dev) |
177 | { | 177 | { |
178 | u32 *reg, val; | 178 | u32 __iomem *reg; |
179 | u32 val; | ||
179 | unsigned long addr = dev->addrs[0].address; | 180 | unsigned long addr = dev->addrs[0].address; |
180 | 181 | ||
181 | setup_indirect_pci(hose, addr + 0xf8000, addr + 0xf8010); | 182 | setup_indirect_pci(hose, addr + 0xf8000, addr + 0xf8010); |
182 | 183 | ||
183 | /* Clear the magic go-slow bit */ | 184 | /* Clear the magic go-slow bit */ |
184 | reg = (u32 *) ioremap(dev->addrs[0].address + 0xf6000, 0x40); | 185 | reg = ioremap(dev->addrs[0].address + 0xf6000, 0x40); |
185 | val = in_be32(®[12]); | 186 | val = in_be32(®[12]); |
186 | if (val & PRG_CL_RESET_VALID) { | 187 | if (val & PRG_CL_RESET_VALID) { |
187 | out_be32(®[12], val & ~PRG_CL_RESET_VALID); | 188 | out_be32(®[12], val & ~PRG_CL_RESET_VALID); |
diff --git a/arch/ppc/platforms/chrp_setup.c b/arch/ppc/platforms/chrp_setup.c index f23c4f320760..57f29ab29bda 100644 --- a/arch/ppc/platforms/chrp_setup.c +++ b/arch/ppc/platforms/chrp_setup.c | |||
@@ -356,7 +356,7 @@ static void __init chrp_find_openpic(void) | |||
356 | struct device_node *np; | 356 | struct device_node *np; |
357 | int len, i; | 357 | int len, i; |
358 | unsigned int *iranges; | 358 | unsigned int *iranges; |
359 | void *isu; | 359 | void __iomem *isu; |
360 | 360 | ||
361 | np = find_type_devices("open-pic"); | 361 | np = find_type_devices("open-pic"); |
362 | if (np == NULL || np->n_addrs == 0) | 362 | if (np == NULL || np->n_addrs == 0) |
diff --git a/include/asm-ppc/hydra.h b/include/asm-ppc/hydra.h index 1134431431da..833a8aff2a80 100644 --- a/include/asm-ppc/hydra.h +++ b/include/asm-ppc/hydra.h | |||
@@ -51,7 +51,7 @@ struct Hydra { | |||
51 | char OpenPIC[0x40000]; | 51 | char OpenPIC[0x40000]; |
52 | }; | 52 | }; |
53 | 53 | ||
54 | extern volatile struct Hydra *Hydra; | 54 | extern volatile struct Hydra __iomem *Hydra; |
55 | 55 | ||
56 | 56 | ||
57 | /* | 57 | /* |