]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move DIV_ROUND_CLOSEST_ULL macro to header
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Mon, 29 Sep 2014 22:49:33 +0000 (15:49 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 Oct 2014 14:49:27 +0000 (16:49 +0200)
commita4280ad249f8100ee417f6a3f7953cccd39e5812
tree13faee4cc18e9039b42c9d5ef439abff78b3b4f6
parent4f00c595bb966b5bc06aa2e6e0216e7762e5da04
drm/i915: Move DIV_ROUND_CLOSEST_ULL macro to header

Move the duplicated DIV_ROUND_CLOSEST_ULL macro into the intel_drv.h
header file so that it can be shared between intel_display.c
and intel_panel.c.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
Reviewed-By: Joe Konno <joe.konno@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_panel.c