Skip to content

Commit ac2917b

Browse files
bjdooks-ctdliviu
authored andcommitted
drm/arm/mali: make malidp_mw_connector_helper_funcs static
The malidp_mw_connector_helper_funcs is not referenced by name outside of the file it is in, so make it static to avoid the following warning: drivers/gpu/drm/arm/malidp_mw.c:59:41: warning: symbol 'malidp_mw_connector_helper_funcs' was not declared. Should it be static? Signed-off-by: Ben Dooks (Codethink) <[email protected]> Signed-off-by: Liviu Dudau <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 57177d2 commit ac2917b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/arm/malidp_mw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ malidp_mw_connector_mode_valid(struct drm_connector *connector,
5656
return MODE_OK;
5757
}
5858

59-
const struct drm_connector_helper_funcs malidp_mw_connector_helper_funcs = {
59+
static const struct drm_connector_helper_funcs malidp_mw_connector_helper_funcs = {
6060
.get_modes = malidp_mw_connector_get_modes,
6161
.mode_valid = malidp_mw_connector_mode_valid,
6262
};

0 commit comments

Comments
 (0)