drm: Move drm_format_num_planes() to drm_crtc.c
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 5 Apr 2012 18:35:15 +0000 (21:35 +0300)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Apr 2012 11:37:11 +0000 (12:37 +0100)
commit141670e9b4356b59b5b39a99e10ac0118d12b16d
treebe9a6888f93cccae323f623ac0e523356c25792b
parentae85226ebe474c9ecfc257191edca184b70ffbc2
drm: Move drm_format_num_planes() to drm_crtc.c

There will be a need for this function in drm_crtc.c later. This
avoids making drm_crtc.c depend on drm_crtc_helper.c.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_crtc_helper.c
include/drm/drm_crtc.h
include/drm/drm_crtc_helper.h