diff options
author | Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> | 2018-01-02 10:02:51 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-01-16 15:23:30 -0500 |
commit | c8c99b81c553f8c19696cd81d96635d5c6ccc8ec (patch) | |
tree | 2eef2df58bde6b652d7ecdf2950a102ee6d4fd5f /drivers/gpu/drm/radeon | |
parent | ad8cec7df5d4bf3b1109fabbb1d61663857045ae (diff) | |
download | linux-c8c99b81c553f8c19696cd81d96635d5c6ccc8ec.tar.gz linux-c8c99b81c553f8c19696cd81d96635d5c6ccc8ec.tar.bz2 linux-c8c99b81c553f8c19696cd81d96635d5c6ccc8ec.zip |
drm/radeon: fix sparse warning: Should it be static?
Impact: make symbol static.
Fix this sparse warning:
drivers/gpu/drm/radeon/radeon_dp_mst.c:332:38: warning: symbol 'mst_cbs' was not declared. Should it be static?
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_dp_mst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_dp_mst.c b/drivers/gpu/drm/radeon/radeon_dp_mst.c index 183b4b482138..238e6eb842ea 100644 --- a/drivers/gpu/drm/radeon/radeon_dp_mst.c +++ b/drivers/gpu/drm/radeon/radeon_dp_mst.c @@ -328,7 +328,7 @@ static void radeon_dp_mst_hotplug(struct drm_dp_mst_topology_mgr *mgr) drm_kms_helper_hotplug_event(dev); } -const struct drm_dp_mst_topology_cbs mst_cbs = { +static const struct drm_dp_mst_topology_cbs mst_cbs = { .add_connector = radeon_dp_add_mst_connector, .register_connector = radeon_dp_register_mst_connector, .destroy_connector = radeon_dp_destroy_mst_connector, |