diff options
author | Oded Gabbay <oded.gabbay@amd.com> | 2014-11-20 16:14:56 +0200 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2014-11-20 16:14:56 +0200 |
commit | 5cd78de5267f36c090043836649b31c12533bbe9 (patch) | |
tree | a4198001c5923e8705b68cb5e6fcbd4e914b0616 /drivers/gpu/drm/amd/amdkfd/kfd_priv.h | |
parent | d80d19bd5064692d40e9190ebadbd381f20d2969 (diff) | |
download | linux-5cd78de5267f36c090043836649b31c12533bbe9.tar.bz2 |
amdkfd: add __iomem attribute to doorbell_ptr
This patch was done due to sparse warning. It changes the definition of
doorbell_ptr in queue_properties to be with __iomem attribute, so it would
match the type which the doorbell module functions are returning.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_priv.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h index 41e608d684b1..d0bcafcf048f 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h +++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h @@ -279,7 +279,7 @@ struct queue_properties { uint32_t queue_percent; uint32_t *read_ptr; uint32_t *write_ptr; - uint32_t *doorbell_ptr; + uint32_t __iomem *doorbell_ptr; uint32_t doorbell_off; bool is_interop; bool is_active; |