Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 902f4a74 authored by Rashika's avatar Rashika Committed by Dave Airlie
Browse files

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: default avatarRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 0662e4c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ static int sis_driver_open(struct drm_device *dev, struct drm_file *file)
	return 0;
}

void sis_driver_postclose(struct drm_device *dev, struct drm_file *file)
static void sis_driver_postclose(struct drm_device *dev, struct drm_file *file)
{
	struct sis_file_private *file_priv = file->driver_priv;