msm: kgsl: Change the prototype of MMU function pointers
Change the prototype of the MMU function pointers to take the mmu
pointer as an argument instead of the device pointer.
Change-Id: I4ecafefcc8f755c23dac6e3a15a1a74a74e3db00
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
diff --git a/drivers/gpu/msm/adreno_ringbuffer.c b/drivers/gpu/msm/adreno_ringbuffer.c
index f6d3cad..a992059 100644
--- a/drivers/gpu/msm/adreno_ringbuffer.c
+++ b/drivers/gpu/msm/adreno_ringbuffer.c
@@ -857,7 +857,7 @@
*cmds++ = cp_nop_packet(1);
*cmds++ = KGSL_END_OF_IB_IDENTIFIER;
- kgsl_setstate(device,
+ kgsl_setstate(&device->mmu,
kgsl_mmu_pt_get_flags(device->mmu.hwpagetable,
device->id));