drm: fix sparse warnings on undeclared symbols in crc debugfs
authorJani Nikula <jani.nikula@intel.com>
Tue, 18 Oct 2016 11:28:35 +0000 (14:28 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 19 Oct 2016 11:10:29 +0000 (14:10 +0300)
commite3f56b2953ec8160629295bc2be0c8d3b8f4d1d3
treefcc2e78bd4d6e015f0c4bcf840d869df0d8eec56
parentfb80016af071b3baedb8c2f327ae599f8ab107dc
drm: fix sparse warnings on undeclared symbols in crc debugfs

Fixes sparse warnings:

drivers/gpu/drm/drm_debugfs_crc.c:118:30: warning: symbol
'drm_crtc_crc_control_fops' was not declared. Should it be static?

drivers/gpu/drm/drm_debugfs_crc.c:264:30: warning: symbol
'drm_crtc_crc_data_fops' was not declared. Should it be static?

drivers/gpu/drm/drm_debugfs_crc.c:281:5: warning: symbol
'drm_debugfs_crtc_crc_add' was not declared. Should it be static?

Fixes: 9edbf1fa600a ("drm: Add API for capturing frame CRCs")
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Emil Velikov <emil.velikov@collabora.com>
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1476790115-28665-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/drm_debugfs_crc.c