diff options
author | Nils Wallménius <nils.wallmenius@gmail.com> | 2016-04-10 16:30:02 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-04 20:20:13 -0400 |
commit | d3a84aa07445d7edb7f496cd41fdb27ed2653fad (patch) | |
tree | b3328de96983d3c8b2f15a95acbeaa35c0c96135 /drivers/gpu/drm/amd/powerplay/inc | |
parent | 06ab6832ac06c77332e3b0415977acf68ea364cf (diff) | |
download | blackbird-op-linux-d3a84aa07445d7edb7f496cd41fdb27ed2653fad.tar.gz blackbird-op-linux-d3a84aa07445d7edb7f496cd41fdb27ed2653fad.zip |
drm/amd/powerplay: Mark pem_event_action chains as const
As these arrays were of pointer to pointer type, they were
pointer to pointer to const. Make them pointer to const
pointer to const.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Nils Wallménius <nils.wallmenius@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/eventmgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/eventmgr.h b/drivers/gpu/drm/amd/powerplay/inc/eventmgr.h index 10437dcfd365..d63ef83b2628 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/eventmgr.h +++ b/drivers/gpu/drm/amd/powerplay/inc/eventmgr.h @@ -37,7 +37,7 @@ typedef int (*pem_event_action)(struct pp_eventmgr *eventmgr, struct action_chain { const char *description; /* action chain description for debugging purpose */ - const pem_event_action **action_chain; /* pointer to chain of event actions */ + const pem_event_action * const *action_chain; /* pointer to chain of event actions */ }; struct pem_power_source_ui_state_info { |