On Tue, Jan 2, 2018 at 3:02 AM, Dmitry Rozhkov <dmitry.rozhkov at linux.intel.com> wrote: > 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 at linux.intel.com> Applied. Thanks! Alex > --- > Resend with maintainers in CC. > > drivers/gpu/drm/radeon/radeon_dp_mst.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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, > -- > 2.13.6 > > _______________________________________________ > amd-gfx mailing list > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx