summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/via
diff options
context:
space:
mode:
authorRashika <rashika.kheria@gmail.com>2014-01-06 17:47:01 +0100
committerDave Airlie <airlied@redhat.com>2014-01-14 04:05:00 +0100
commit1e164bb87d20a112106eb663514aa0644e051a80 (patch)
tree336342f13a47378e12f5d96a2019096c86c027d2 /drivers/gpu/drm/via
parentdrivers: gpu: Mark function as static in sis_drv.c (diff)
downloadlinux-1e164bb87d20a112106eb663514aa0644e051a80.tar.xz
linux-1e164bb87d20a112106eb663514aa0644e051a80.zip
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 <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/via')
-rw-r--r--drivers/gpu/drm/via/via_drv.c2
1 files changed, 1 insertions, 1 deletions
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;