Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/rockchip: make rockchip_gem_alloc_object static

The rockchip_gem_alloc_object function is not exported so
make it static to avoid the following sparse warning:

drivers/gpu/drm/rockchip/rockchip_drm_gem.c:297:28: warning: symbol 'rockchip_gem_alloc_object' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20191009121022.17478-1-ben.dooks@codethink.co.uk

authored by

Ben Dooks and committed by
Heiko Stuebner
c7337670 b02516b6

+1 -1
+1 -1
drivers/gpu/drm/rockchip/rockchip_drm_gem.c
··· 294 294 kfree(rk_obj); 295 295 } 296 296 297 - struct rockchip_gem_object * 297 + static struct rockchip_gem_object * 298 298 rockchip_gem_alloc_object(struct drm_device *drm, unsigned int size) 299 299 { 300 300 struct rockchip_gem_object *rk_obj;