msm: sps: Use iomem attribute for base address

Clients may use ioremap api to obtain the bam base address.
Add iomem attribute to the base address field
in the public SPS structure to avoid type casts.

Change-Id: Iba2ec1a9d84c3d57e2ce314ba9dc0b81644db2fb
Signed-off-by: Ajay Prathi <aprathi@codeaurora.org>
This commit is contained in:
Ajay Prathi 2020-06-26 16:38:28 +05:30 committed by Gerrit - the friendly Code Review server
parent 37c2499eda
commit 880a623b66

View File

@ -492,7 +492,7 @@ struct sps_bam_props {
*
*/
struct sps_mem_buffer {
void *base;
void __iomem *base;
phys_addr_t phys_base;
unsigned long iova;
u32 size;