drm: rcar-du: Define macros for the max number of groups, CRTCs and LVDS
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 25 Feb 2015 16:21:12 +0000 (18:21 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 3 Mar 2015 14:16:07 +0000 (16:16 +0200)
commita64b9c7e56590248445ee23f835309ede500d019
tree3ef5d135dd5ccef80df7441dce33dc86343f1db6
parent931b7336214bec8538babfde5eaa6833e179c804
drm: rcar-du: Define macros for the max number of groups, CRTCs and LVDS

Let's avoid magic constants. Beside increasing code readability, it will
also ensure that no location will be forgotten when raising the maximum
number of groups, CRTCs or LVDS encoders

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_drv.h