Skip to content

Commit 902f4a7

Browse files
rashikaairlied
authored andcommitted
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>
1 parent 0662e4c commit 902f4a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/sis/sis_drv.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ static int sis_driver_open(struct drm_device *dev, struct drm_file *file)
9494
return 0;
9595
}
9696

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)
9898
{
9999
struct sis_file_private *file_priv = file->driver_priv;
100100

0 commit comments

Comments
 (0)