diff options
author | Thierry Reding <treding@nvidia.com> | 2014-06-12 13:16:54 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-11-13 16:11:35 +0100 |
commit | 0169b93f4492c74d046b456d93b37bd7b55ecd42 (patch) | |
tree | 3e5b98d7614765522cc6d84b5fc8ba55b30ff616 /drivers/gpu/host1x/cdma.h | |
parent | gpu: host1x: Use struct host1x_bo pointers in traces (diff) | |
download | linux-0169b93f4492c74d046b456d93b37bd7b55ecd42.tar.xz linux-0169b93f4492c74d046b456d93b37bd7b55ecd42.zip |
gpu: host1x: Make mapped field of push buffers void *
This reduces the amount of casting that needs to be done to get rid of
annoying warnings on 64-bit builds.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/cdma.h')
-rw-r--r-- | drivers/gpu/host1x/cdma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/cdma.h b/drivers/gpu/host1x/cdma.h index 313c4b784348..470087af8fe5 100644 --- a/drivers/gpu/host1x/cdma.h +++ b/drivers/gpu/host1x/cdma.h @@ -42,7 +42,7 @@ struct host1x_job; */ struct push_buffer { - u32 *mapped; /* mapped pushbuffer memory */ + void *mapped; /* mapped pushbuffer memory */ dma_addr_t phys; /* physical address of pushbuffer */ u32 fence; /* index we've written */ u32 pos; /* index to write to */ |