drm/ast: Make the symbol 'ast_mode_config_mode_valid' static
Subsystems (3)
PATCH 1/1 drm/ast: Make the symbol 'ast_mode_config_mode_valid' static
Fix the following sparse warning.
drivers/gpu/drm/ast/ast_main.c:391:22: warning: symbol 'ast_mode_config_mode_valid' was not declared. Should it be static?
Signed-off-by zhong jiang <[email protected]>
--- drivers/gpu/drm/ast/ast_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/ast/ast_main.c +2 -2
@@ -388,8 +388,8 @@ static int ast_get_dram_info(struct drm_device *dev)return 0 ; } -enum drm_mode_status ast_mode_config_mode_valid (struct drm_device *dev, -const struct drm_display_mode *mode) +static enum drm_mode_status ast_mode_config_mode_valid (struct drm_device *dev, +const struct drm_display_mode *mode) {static const unsigned long max_bpp =4 ;/* DRM_FORMAT_XRGBA8888 */
Signature · 1 line
1.7.12.4