]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit2e5416252af5239ddcd92bc858a494c1ca842778
tree13faee4cc18e9039b42c9d5ef439abff78b3b4f6
parent673e7bbdb3920b62cfc6c710bea626b0a9b0f43a
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