Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dmitry Rozhkov and committed by
Alex Deucher
c8c99b81 ad8cec7d

+1 -1
+1 -1
drivers/gpu/drm/radeon/radeon_dp_mst.c
··· 328 328 drm_kms_helper_hotplug_event(dev); 329 329 } 330 330 331 - const struct drm_dp_mst_topology_cbs mst_cbs = { 331 + static const struct drm_dp_mst_topology_cbs mst_cbs = { 332 332 .add_connector = radeon_dp_add_mst_connector, 333 333 .register_connector = radeon_dp_register_mst_connector, 334 334 .destroy_connector = radeon_dp_destroy_mst_connector,