Commit a7625d6e authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] mv64x60 iomem annotations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9fcdfcd9
...@@ -34,7 +34,7 @@ u8 mv64x60_pci_exclude_bridge = 1; ...@@ -34,7 +34,7 @@ u8 mv64x60_pci_exclude_bridge = 1;
DEFINE_SPINLOCK(mv64x60_lock); DEFINE_SPINLOCK(mv64x60_lock);
static phys_addr_t mv64x60_bridge_pbase; static phys_addr_t mv64x60_bridge_pbase;
static void *mv64x60_bridge_vbase; static void __iomem *mv64x60_bridge_vbase;
static u32 mv64x60_bridge_type = MV64x60_TYPE_INVALID; static u32 mv64x60_bridge_type = MV64x60_TYPE_INVALID;
static u32 mv64x60_bridge_rev; static u32 mv64x60_bridge_rev;
#if defined(CONFIG_SYSFS) && !defined(CONFIG_GT64260) #if defined(CONFIG_SYSFS) && !defined(CONFIG_GT64260)
...@@ -938,7 +938,7 @@ mv64x60_setup_for_chip(struct mv64x60_handle *bh) ...@@ -938,7 +938,7 @@ mv64x60_setup_for_chip(struct mv64x60_handle *bh)
* *
* Return the virtual address of the bridge's registers. * Return the virtual address of the bridge's registers.
*/ */
void * void __iomem *
mv64x60_get_bridge_vbase(void) mv64x60_get_bridge_vbase(void)
{ {
return mv64x60_bridge_vbase; return mv64x60_bridge_vbase;
......
...@@ -233,7 +233,7 @@ struct mv64x60_chip_info { ...@@ -233,7 +233,7 @@ struct mv64x60_chip_info {
struct mv64x60_handle { struct mv64x60_handle {
u32 type; /* type of bridge */ u32 type; /* type of bridge */
u32 rev; /* revision of bridge */ u32 rev; /* revision of bridge */
void *v_base; /* virtual base addr of bridge regs */ void __iomem *v_base;/* virtual base addr of bridge regs */
phys_addr_t p_base; /* physical base addr of bridge regs */ phys_addr_t p_base; /* physical base addr of bridge regs */
u32 pci_mode_a; /* pci 0 mode: conventional pci, pci-x*/ u32 pci_mode_a; /* pci 0 mode: conventional pci, pci-x*/
...@@ -303,7 +303,7 @@ void mv64x60_alloc_hose(struct mv64x60_handle *bh, u32 cfg_addr, ...@@ -303,7 +303,7 @@ void mv64x60_alloc_hose(struct mv64x60_handle *bh, u32 cfg_addr,
u32 cfg_data, struct pci_controller **hose); u32 cfg_data, struct pci_controller **hose);
int mv64x60_get_type(struct mv64x60_handle *bh); int mv64x60_get_type(struct mv64x60_handle *bh);
int mv64x60_setup_for_chip(struct mv64x60_handle *bh); int mv64x60_setup_for_chip(struct mv64x60_handle *bh);
void *mv64x60_get_bridge_vbase(void); void __iomem *mv64x60_get_bridge_vbase(void);
u32 mv64x60_get_bridge_type(void); u32 mv64x60_get_bridge_type(void);
u32 mv64x60_get_bridge_rev(void); u32 mv64x60_get_bridge_rev(void);
void mv64x60_get_mem_windows(struct mv64x60_handle *bh, void mv64x60_get_mem_windows(struct mv64x60_handle *bh,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment