From: Alan Cox Date: Fri, 14 Aug 2009 14:40:32 +0000 (+0100) Subject: Staging: sep: fix a conversion thinko X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c7b7556245f3d0e825bf5c73dd9380b6b26737c5;p=linux-beck.git Staging: sep: fix a conversion thinko Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- 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) {