aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/ps3vram.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/ps3vram.c b/drivers/block/ps3vram.c
index 5f408c6e5b20..fbbdd5ca5720 100644
--- a/drivers/block/ps3vram.c
+++ b/drivers/block/ps3vram.c
@@ -72,7 +72,7 @@ struct ps3vram_priv {
72 u64 memory_handle; 72 u64 memory_handle;
73 u64 context_handle; 73 u64 context_handle;
74 u32 *ctrl; 74 u32 *ctrl;
75 u32 *reports; 75 void *reports;
76 u8 *xdr_buf; 76 u8 *xdr_buf;
77 77
78 u32 *fifo_base; 78 u32 *fifo_base;
@@ -102,9 +102,9 @@ static char *size = "256M";
102module_param(size, charp, 0); 102module_param(size, charp, 0);
103MODULE_PARM_DESC(size, "memory size"); 103MODULE_PARM_DESC(size, "memory size");
104 104
105static u32 *ps3vram_get_notifier(u32 *reports, int notifier) 105static u32 *ps3vram_get_notifier(void *reports, int notifier)
106{ 106{
107 return (void *)reports + DMA_NOTIFIER_OFFSET_BASE + 107 return reports + DMA_NOTIFIER_OFFSET_BASE +
108 DMA_NOTIFIER_SIZE * notifier; 108 DMA_NOTIFIER_SIZE * notifier;
109} 109}
110 110