aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRashika <rashika.kheria@gmail.com>2014-01-06 11:41:59 -0500
committerDave Airlie <airlied@redhat.com>2014-01-13 22:04:33 -0500
commit902f4a7400df915ccd84c87e1cc89a2e89f96ceb (patch)
treeb1f31ef333b30122197904ecdf02f9d989565b2b
parent0662e4c2c2fbddd10cdec05fe68eb2c03e6dbcc9 (diff)
drivers: gpu: Mark function as static in sis_drv.c
Mark function as static because it is not used outside the file drm/sis/sis_drv.c. This eliminates the following warning in drm/sis/sis_drv.c: drivers/gpu/drm/sis/sis_drv.c:97:6: warning: no previous prototype for ‘sis_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>
-rw-r--r--drivers/gpu/drm/sis/sis_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sis/sis_drv.c b/drivers/gpu/drm/sis/sis_drv.c
index 4383b74a3aa4..756f787b7143 100644
--- a/drivers/gpu/drm/sis/sis_drv.c
+++ b/drivers/gpu/drm/sis/sis_drv.c
@@ -94,7 +94,7 @@ static int sis_driver_open(struct drm_device *dev, struct drm_file *file)
94 return 0; 94 return 0;
95} 95}
96 96
97void sis_driver_postclose(struct drm_device *dev, struct drm_file *file) 97static void sis_driver_postclose(struct drm_device *dev, struct drm_file *file)
98{ 98{
99 struct sis_file_private *file_priv = file->driver_priv; 99 struct sis_file_private *file_priv = file->driver_priv;
100 100