drm/rcar-du: Use dynamic number of CRTCs instead of CRTCs array size
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 16 Jun 2013 20:22:23 +0000 (22:22 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 9 Aug 2013 21:17:47 +0000 (23:17 +0200)
commit990d07a5a9582f14b4d6d13cde5311d6c694096a
treedd3d21a6c8b0ff3307d70436149f1ef85a71287a
parentcb2025d2509ffab1c426509fd9de3d83e40398b9
drm/rcar-du: Use dynamic number of CRTCs instead of CRTCs array size

The rcar_du_device structure contains a field that stores the number of
CRTCs, use it instead of the CRTCs array size. This prepares the driver
to support a variable number of CRTCs.

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