• Rashika's avatar
    drivers: gpu: Mark functions as static in cirrus_mode.c · 5e89440f
    Rashika authored
    Mark functions cirrus_set_start_address(), cirrus_encoder_destroy(),
    cirrus_vga_get_modes() and cirrus_connector_best_encoder() as static in
    drm/cirrus/cirrus_mode.c because they are not used outside this file.
    
    This eliminates the following warnings in drm/cirrus/cirrus_mode.c:
    drivers/gpu/drm/cirrus/cirrus_mode.c:105:6: warning: no previous
    prototype for ‘cirrus_set_start_address’ [-Wmissing-prototypes]
    drivers/gpu/drm/cirrus/cirrus_mode.c:456:6: warning: no previous
    prototype for ‘cirrus_encoder_destroy’ [-Wmissing-prototypes]
    drivers/gpu/drm/cirrus/cirrus_mode.c:495:5: warning: no previous
    prototype for ‘cirrus_vga_get_modes’ [-Wmissing-prototypes]
    drivers/gpu/drm/cirrus/cirrus_mode.c:512:21: warning: no previous
    prototype for ‘cirrus_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>
    5e89440f
cirrus_mode.c 14.7 KB