diff --git a/drivers/staging/sep/sep_driver.c b/drivers/staging/sep/sep_driver.c index 531814bdbb09..0302c3c93c1a 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) {