summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-08-14 15:40:32 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:02:14 -0700
commitc7b7556245f3d0e825bf5c73dd9380b6b26737c5 (patch)
treea387753d3293313079e130cf1ca12eafb0f09ac6
parentad6b9ab7a3ef6818a7b10e1202a0fb62fe242aeb (diff)
downloadop-kernel-dev-c7b7556245f3d0e825bf5c73dd9380b6b26737c5.zip
op-kernel-dev-c7b7556245f3d0e825bf5c73dd9380b6b26737c5.tar.gz
Staging: sep: fix a conversion thinko
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-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 531814b..0302c3c 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) {
OpenPOWER on IntegriCloud