Staging: sep: fix a conversion thinko
authorAlan Cox <alan@linux.intel.com>
Fri, 14 Aug 2009 14:40:32 +0000 (15:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:14 +0000 (12:02 -0700)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/sep/sep_driver.c

index 531814b..0302c3c 100644 (file)
@@ -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) {