drm/amd/display: Adding prototype for dccg21_update_dpp_dto()
authorSouptick Joarder <jrdr.linux@gmail.com>
Sat, 12 Dec 2020 14:56:24 +0000 (20:26 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Dec 2020 16:35:25 +0000 (11:35 -0500)
Kernel test robot throws below warning ->

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_dccg.c:46:6:
warning: no previous prototype for 'dccg21_update_dpp_dto'
[-Wmissing-prototypes]

Adding prototype for dccg21_update_dpp_dto().

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h

index b7efa77..e44a374 100644 (file)
@@ -32,5 +32,6 @@ struct dccg *dccg21_create(
        const struct dccg_shift *dccg_shift,
        const struct dccg_mask *dccg_mask);
 
+void dccg21_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk);
 
 #endif /* __DCN21_DCCG_H__ */