aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/sep/sep_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sep/sep_driver.c b/drivers/staging/sep/sep_driver.c
index 531814bdbb0..0302c3c93c1 100644
--- a/drivers/staging/sep/sep_driver.c
+++ b/drivers/staging/sep/sep_driver.c
@@ -277,7 +277,7 @@ static int sep_map_and_alloc_shared_area(struct sep_device *sep,
unsigned long size)
{
/* shared_addr = ioremap_nocache(0xda00000,shared_area_size); */
- sep->shared_area = dma_alloc_coherent(&sep->pdev->dev, size,
+ sep->shared_addr = dma_alloc_coherent(&sep->pdev->dev, size,
&sep->shared_bus, GFP_KERNEL);
if (!sep->shared_addr) {