summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShiraz Hashim <shashim@codeaurora.org>2015-09-02 12:01:55 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:03:44 -0700
commit671e5d6181abec4ddddaf7faa00aa6323df99360 (patch)
treea37a77937dab54833e82093b9fbf75f80ccbedf6
parent868aea78326722b35901e847f9f5c21024846042 (diff)
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>
-rw-r--r--drivers/base/dma-removed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/dma-removed.c b/drivers/base/dma-removed.c
index 0da44ded61db..46a39b3203ca 100644
--- a/drivers/base/dma-removed.c
+++ b/drivers/base/dma-removed.c
@@ -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;