From: Lee Jones Date: Mon, 11 Jan 2021 19:18:55 +0000 (+0000) Subject: drm/amd/display/dc/gpio/diagnostics/hw_factory_diag: Include our own header containin... X-Git-Tag: accepted/tizen/unified/20230118.172025~7733^2~17^2~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=469b1133804ef1fb78508ab5857b061b48ac86f5;p=platform%2Fkernel%2Flinux-rpi.git drm/amd/display/dc/gpio/diagnostics/hw_factory_diag: Include our own header containing prototypes Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/diagnostics/hw_factory_diag.c:50:6: warning: no previous prototype for ‘dal_hw_factory_diag_fpga_init’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c b/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c index df68430..c6e28f6 100644 --- a/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c +++ b/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c @@ -28,6 +28,7 @@ */ #include "dm_services.h" +#include "hw_factory_diag.h" #include "include/gpio_types.h" #include "../hw_factory.h"