drm/arc: Fix some sparse warnings
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 19 Jul 2016 12:04:05 +0000 (12:04 +0000)
committerSean Paul <seanpaul@chromium.org>
Tue, 19 Jul 2016 19:33:37 +0000 (15:33 -0400)
commitee29a9eaff92298412904669371037cb202b89b3
tree180cfe429fb5499920b0d1b2b53bd044e27cce08
parent3c003d599dc80769b9c5b023d3944c7adb7de73b
drm/arc: Fix some sparse warnings

Fixes the following sparse warnings:

drivers/gpu/drm/arc/arcpgu_drv.c:52:5: warning:
  symbol 'arcpgu_gem_mmap' was not declared. Should it be static?
drivers/gpu/drm/arc/arcpgu_drv.c:134:48: warning:
  Using plain integer as NULL pointer
drivers/gpu/drm/arc/arcpgu_drv.c:155:5: warning:
  symbol 'arcpgu_unload' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/arc/arcpgu_drv.c