• Rashika's avatar
    drivers: gpu: Mark functions as static in mgag200_mode.c · 080fd6b5
    Rashika authored
    Mark functions mga_set_start_address(), mga_encoder_destroy() and
    mga_connector_best_encoder() as static in drm/mgag200/mgag200_mode.c
    because they are not used outside this file.
    
    This eliminates the following warnings in drm/mgag200/mgag200_mode.c:
    drivers/gpu/drm/mgag200/mgag200_mode.c:694:6: warning: no previous
    prototype for ‘mga_set_start_address’ [-Wmissing-prototypes]
    drivers/gpu/drm/mgag200/mgag200_mode.c:1401:6: warning: no previous
    prototype for ‘mga_encoder_destroy’ [-Wmissing-prototypes]
    drivers/gpu/drm/mgag200/mgag200_mode.c:1561:21: warning: no previous
    prototype for ‘mga_connector_best_encoder’ [-Wmissing-prototypes]
    Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
    Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    080fd6b5
mgag200_mode.c 39.9 KB