]> 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)
commit852b283777c57e1249465832a87e01e1b5145771
tree3ef5d135dd5ccef80df7441dce33dc86343f1db6
parenta5dc797840c01da731e3185bef8af5120865b201
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