drivers: dma-removed: fix data type to hold base address
removed_region->base should be phy_addr_t type as it directly holds physical memory address. Fix it. Change-Id: I80d49d209cf0f319b7a468697387d23e6bcb1b98 Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
This commit is contained in:
parent
868aea7832
commit
671e5d6181
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
#include <linux/spinlock.h>
|
||||
|
||||
struct removed_region {
|
||||
dma_addr_t base;
|
||||
phys_addr_t base;
|
||||
int nr_pages;
|
||||
unsigned long *bitmap;
|
||||
struct mutex lock;
|
||||
|
|
Loading…
Add table
Reference in a new issue