drm/bridge: dw-hdmi: Staticize dw_hdmi_bridge_funcs
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 2 Apr 2015 22:11:04 +0000 (19:11 -0300)
committerThierry Reding <treding@nvidia.com>
Fri, 15 May 2015 09:13:04 +0000 (11:13 +0200)
Staticize dw_hdmi_bridge_funcs to fix the following sparse warning:

drivers/gpu/drm/bridge/dw_hdmi.c:1458:25: warning: symbol 'dw_hdmi_bridge_funcs' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/bridge/dw_hdmi.c

index 49cafb61d29075530840a78766541ad4e9ceb478..594f84c763cfa1a3beb798e6d46ed399606907f9 100644 (file)
@@ -1457,7 +1457,7 @@ static struct drm_connector_helper_funcs dw_hdmi_connector_helper_funcs = {
        .best_encoder = dw_hdmi_connector_best_encoder,
 };
 
-struct drm_bridge_funcs dw_hdmi_bridge_funcs = {
+static struct drm_bridge_funcs dw_hdmi_bridge_funcs = {
        .enable = dw_hdmi_bridge_enable,
        .disable = dw_hdmi_bridge_disable,
        .pre_enable = dw_hdmi_bridge_nop,