drm/i915: move power domain macros to intel_pm.c
authorImre Deak <imre.deak@intel.com>
Tue, 4 Mar 2014 17:22:53 +0000 (19:22 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Mar 2014 21:36:48 +0000 (22:36 +0100)
commitefcad91742a37aca0a8d33441c86f51bb0a90daa
treed1085896e11257b1f08f0a2b6c63c592213b8204
parent93a25a9e2d67765c3092bfaac9b855d95e39df97
drm/i915: move power domain macros to intel_pm.c

These macros are used only locally, so move them to the .c file.

No functional change.

v2:
- add init power domain to always-on power wells in the following
  - separate - patch (Paulo)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c