Browse Source

Staging: sep: fix a conversion thinko

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Alan Cox 16 years ago
parent
commit
c7b7556245
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/sep/sep_driver.c

+ 1 - 1
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) {