OSDN Git Service

drm: rcar-du: Sort the DU outputs
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Wed, 22 Sep 2021 23:47:22 +0000 (00:47 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 7 Oct 2021 02:59:45 +0000 (05:59 +0300)
Sort the DU outputs alphabetically, with the exception of the final
entry which is there as a sentinal.

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

index 859fd59..1b3ab07 100644 (file)
@@ -36,10 +36,10 @@ struct rcar_du_device;
 enum rcar_du_output {
        RCAR_DU_OUTPUT_DPAD0,
        RCAR_DU_OUTPUT_DPAD1,
-       RCAR_DU_OUTPUT_LVDS0,
-       RCAR_DU_OUTPUT_LVDS1,
        RCAR_DU_OUTPUT_HDMI0,
        RCAR_DU_OUTPUT_HDMI1,
+       RCAR_DU_OUTPUT_LVDS0,
+       RCAR_DU_OUTPUT_LVDS1,
        RCAR_DU_OUTPUT_TCON,
        RCAR_DU_OUTPUT_MAX,
 };