Staging: sep: fix a conversion thinko
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
ad6b9ab7a3
commit
c7b7556245
|
@ -277,7 +277,7 @@ static int sep_map_and_alloc_shared_area(struct sep_device *sep,
|
||||||
unsigned long size)
|
unsigned long size)
|
||||||
{
|
{
|
||||||
/* shared_addr = ioremap_nocache(0xda00000,shared_area_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);
|
&sep->shared_bus, GFP_KERNEL);
|
||||||
|
|
||||||
if (!sep->shared_addr) {
|
if (!sep->shared_addr) {
|
||||||
|
|
Loading…
Reference in a new issue