]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22d41dc3ae1a87744febb39ab33d0bf19b6714c9
tree3ef5d135dd5ccef80df7441dce33dc86343f1db6
parent7c7feec2ad0d84508735f6be2c0cb90c57bf45df
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