]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm: rcar-du: of: Include header to define prototypes
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Tue, 24 Apr 2018 15:39:42 +0000 (16:39 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 5 May 2018 14:11:15 +0000 (17:11 +0300)
commitc18e9a098605abe5a1dc1c5dd9cfeda322ed36d8
treea92152a40b401c77f1ccbe1814d33bf788ac5b02
parent75a07f399cd43bc7fb41a13723fbe04e61c5c470
drm: rcar-du: of: Include header to define prototypes

The symbol 'rcar_du_of_init' is defined by the rcar_du_of module header,
but it is not included by the C implementation.

Include the header to correctly define the function prototypes.

Fixes the following warning:

linux/drivers/gpu/drm/rcar-du/rcar_du_of.c:319:13:
   warning: symbol 'rcar_du_of_init' was not declared. Should it be static?
    CC      drivers/gpu/drm/rcar-du/rcar_du_of.o

Fixes: 81c0e3dd8292 ("drm: rcar-du: Fix legacy DT to create LVDS encoder nodes")
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Vaishali Thakkar <vthakkar@vaishalithakkar.in>
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_of.c