提交 1e164bb8 编写于 作者: R Rashika 提交者: Dave Airlie

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: NRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 902f4a74
...@@ -46,7 +46,7 @@ static int via_driver_open(struct drm_device *dev, struct drm_file *file) ...@@ -46,7 +46,7 @@ static int via_driver_open(struct drm_device *dev, struct drm_file *file)
return 0; 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; struct via_file_private *file_priv = file->driver_priv;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册