diff options
author | Alan Cox <alan@linux.intel.com> | 2009-08-07 22:25:16 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 23:02:14 +0400 |
commit | 790cf1b912d3166746c8a1e1e807019a397d85d9 (patch) | |
tree | 600ff91fd97170cba72e332864cdd514f0a9535a /drivers/staging/sep/sep_dev.h | |
parent | 3b66bb651e6b29c1976b6d407cb53f11fcb8e7e0 (diff) | |
download | linux-790cf1b912d3166746c8a1e1e807019a397d85d9.tar.xz |
Staging: sep: Try and get kernel address and user address types right
We will need to tackle this in order to begin doing something about the
bus handled and shared memory object mess.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sep/sep_dev.h')
-rw-r--r-- | drivers/staging/sep/sep_dev.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/sep/sep_dev.h b/drivers/staging/sep/sep_dev.h index 48286639e6c9..fd33945db6c8 100644 --- a/drivers/staging/sep/sep_dev.h +++ b/drivers/staging/sep/sep_dev.h @@ -38,19 +38,19 @@ struct sep_device { void __iomem *io_addr; /* restricted access region */ - unsigned long rar_bus; + dma_addr_t rar_bus; void *rar_addr; /* shared memory region */ - unsigned long shared_bus; + dma_addr_t shared_bus; void *shared_addr; /* firmware regions */ - unsigned long cache_bus; + dma_addr_t cache_bus; unsigned long cache_size; void *cache_addr; - unsigned long resident_bus; + dma_addr_t resident_bus; unsigned long resident_size; void *resident_addr; @@ -87,12 +87,12 @@ struct sep_device { struct workqueue_struct *flow_wq; /* address of the shared memory allocated during init for SEP driver */ - unsigned long shared_area; + void *shared_area; /* the physical address of the shared area */ - unsigned long shared_area_bus; + dma_addr_t shared_area_bus; /* Message Shared Area start address - will be allocated during init */ - unsigned long message_shared_area_addr; + void *message_shared_area_addr; }; static struct sep_device *sep_dev; |