Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rashika and committed by
Dave Airlie
902f4a74 0662e4c2

+1 -1
+1 -1
drivers/gpu/drm/sis/sis_drv.c
··· 94 94 return 0; 95 95 } 96 96 97 - void sis_driver_postclose(struct drm_device *dev, struct drm_file *file) 97 + static void sis_driver_postclose(struct drm_device *dev, struct drm_file *file) 98 98 { 99 99 struct sis_file_private *file_priv = file->driver_priv; 100 100