From: Rashika Date: Mon, 6 Jan 2014 16:47:01 +0000 (+0530) Subject: drivers: gpu: Mark function as static in via_drv.c X-Git-Tag: MMI-PSA29.97-13-9~12830^2~21 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1e164bb87d20a112106eb663514aa0644e051a80;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drivers: gpu: Mark function as static in via_drv.c Mark function as static because it is not used outside the file drm/via/via_drv.c. This eliminates the following warning in drm/via/via_drv.c: drivers/gpu/drm/via/via_drv.c:49:6: warning: no previous prototype for ‘via_driver_postclose’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/via/via_drv.c b/drivers/gpu/drm/via/via_drv.c index 92684a9b7e34..50abc2adfaee 100644 --- a/drivers/gpu/drm/via/via_drv.c +++ b/drivers/gpu/drm/via/via_drv.c @@ -46,7 +46,7 @@ static int via_driver_open(struct drm_device *dev, struct drm_file *file) return 0; } -void via_driver_postclose(struct drm_device *dev, struct drm_file *file) +static void via_driver_postclose(struct drm_device *dev, struct drm_file *file) { struct via_file_private *file_priv = file->driver_priv;