mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
staging: tidspbridge: change type to __iomem for per and core addresses
Currently per_pm_base and core_pm_base are declared as u32, however _raw_* changed the data type, since: 195bbca ARM: 7500/1: io: avoid writeback addressing modes for __raw_ accessors This should fix warnings for per and core accesses: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast ../io.h:88: note: expected 'volatile void *' but argument is of type 'u32' Signed-off-by: Omar Ramirez Luna <omar.ramirez@copitl.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
53e3e3f19f
commit
3c8676967b
2 changed files with 6 additions and 6 deletions
|
@ -53,8 +53,8 @@ struct cfg_hostres {
|
|||
u32 chnl_buf_size;
|
||||
u32 num_chnls;
|
||||
void __iomem *per_base;
|
||||
u32 per_pm_base;
|
||||
u32 core_pm_base;
|
||||
void __iomem *per_pm_base;
|
||||
void __iomem *core_pm_base;
|
||||
void __iomem *dmmu_base;
|
||||
};
|
||||
|
||||
|
|
|
@ -667,10 +667,10 @@ int drv_request_bridge_res_dsp(void **phost_resources)
|
|||
OMAP_DSP_MEM3_SIZE);
|
||||
host_res->per_base = ioremap(OMAP_PER_CM_BASE,
|
||||
OMAP_PER_CM_SIZE);
|
||||
host_res->per_pm_base = (u32) ioremap(OMAP_PER_PRM_BASE,
|
||||
OMAP_PER_PRM_SIZE);
|
||||
host_res->core_pm_base = (u32) ioremap(OMAP_CORE_PRM_BASE,
|
||||
OMAP_CORE_PRM_SIZE);
|
||||
host_res->per_pm_base = ioremap(OMAP_PER_PRM_BASE,
|
||||
OMAP_PER_PRM_SIZE);
|
||||
host_res->core_pm_base = ioremap(OMAP_CORE_PRM_BASE,
|
||||
OMAP_CORE_PRM_SIZE);
|
||||
host_res->dmmu_base = ioremap(OMAP_DMMU_BASE,
|
||||
OMAP_DMMU_SIZE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue