mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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:
parent
37c2499eda
commit
880a623b66
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user