summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorFabio Estevam2015-04-03 00:11:04 +0200
committerThierry Reding2015-05-15 11:13:04 +0200
commitcf88fca50230042d97651ed71a2bffec111956f4 (patch)
tree105daf2ce90d639e012cd5de6c4bcc261dbb0fad /drivers/gpu/drm
parentLinux 4.1-rc1 (diff)
downloadkernel-qcow2-linux-cf88fca50230042d97651ed71a2bffec111956f4.tar.gz
kernel-qcow2-linux-cf88fca50230042d97651ed71a2bffec111956f4.tar.xz
kernel-qcow2-linux-cf88fca50230042d97651ed71a2bffec111956f4.zip
drm/bridge: dw-hdmi: Staticize dw_hdmi_bridge_funcs
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/bridge/dw_hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/dw_hdmi.c b/drivers/gpu/drm/bridge/dw_hdmi.c
index 49cafb61d290..594f84c763cf 100644
--- a/drivers/gpu/drm/bridge/dw_hdmi.c
+++ b/drivers/gpu/drm/bridge/dw_hdmi.c
@@ -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,