]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm: rcar-du: Use NULL for table initialisation
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Tue, 24 Apr 2018 15:40:03 +0000 (16:40 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 5 May 2018 14:11:16 +0000 (17:11 +0300)
commit3b0033eb39360dc655466c5f1e6852d5a83b384d
tree8cc0f14285f57ed3ee502037b545016c955650a0
parentc18e9a098605abe5a1dc1c5dd9cfeda322ed36d8
drm: rcar-du: Use NULL for table initialisation

Replace the initialisation of the vsps table with a NULL specifier.

Fixes the following warning:
 linux/drivers/gpu/drm/rcar-du/rcar_du_kms.c:483:40:
    warning: Using plain integer as NULL pointer
      CC      drivers/gpu/drm/rcar-du/rcar_du_kms.o

Fixes: 3e81374e2014 ("drm: rcar-du: Support multiple sources from the same VSP")
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Vaishali Thakkar <vthakkar@vaishalithakkar.in>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_kms.c