]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitddef696f9e435cfcb53836c1437b8b989323f700
tree180cfe429fb5499920b0d1b2b53bd044e27cce08
parent01abf7ea3ab76b5360c9b122ef3ed67eff3c72fc
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