From 6f13ea3df5de2af5c50e15218553c2434e455be9 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 14 Aug 2009 15:41:50 +0100 Subject: Staging: sep: tidy firmware load Start by removing unused fields and then work this back to eliminate unused chunks of the firmware loading ioctl (ie almost all of it) Also fix the wrong handling of shared allocations and allocate the rar region properly with dma_alloc_coherent not kmalloc, as it is device shared. Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- drivers/staging/sep/sep_dev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/staging/sep/sep_dev.h') diff --git a/drivers/staging/sep/sep_dev.h b/drivers/staging/sep/sep_dev.h index fd33945db6c8..f0dc715cbcb6 100644 --- a/drivers/staging/sep/sep_dev.h +++ b/drivers/staging/sep/sep_dev.h @@ -54,7 +54,7 @@ struct sep_device { unsigned long resident_size; void *resident_addr; - unsigned long rar_region_addr; + void *rar_region_addr; /* start address of the access to the SEP registers from driver */ void __iomem *reg_addr; -- cgit v1.2.3-55-g7522