]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make i2c lock ops static
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 1 Sep 2017 14:31:22 +0000 (17:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 1 Sep 2017 16:46:33 +0000 (19:46 +0300)
commit7881b7fdf2ef8bea98bd603b3e5882fd72dc4459
tree799fd85851a2277b6e1ec1cb7ff4c6965bc4ef7e
parentf50d84cb9b66743d85f9d76fc9202de230983483
drm/i915: Make i2c lock ops static

Make gmbus_lock_ops and proxy_lock_ops static to appease sparse
intel_i2c.c:652:34: warning: symbol 'gmbus_lock_ops' was not declared. Should it be static?
intel_sdvo.c:2981:34: warning: symbol 'proxy_lock_ops' was not declared. Should it be static?

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Fixes: e25da079a095 ("drm/i915: Rework sdvo proxy i2c locking")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170901143123.7590-2-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_i2c.c
drivers/gpu/drm/i915/intel_sdvo.c