Re: [PATCH 2/3] drm/amd/display: dumb_abm_lcd: avoid missing-prototype warnings

2023-04-20 Thread Hamza Mahfooz
On 4/20/23 04:47, Arnd Bergmann wrote: From: Arnd Bergmann The dmub_abm_set_ambient_level() function has no caller and can just be removed, the other ones have a declaration in the header file and just need to see the prototype:

[PATCH 2/3] drm/amd/display: dumb_abm_lcd: avoid missing-prototype warnings

2023-04-20 Thread Arnd Bergmann
From: Arnd Bergmann The dmub_abm_set_ambient_level() function has no caller and can just be removed, the other ones have a declaration in the header file and just need to see the prototype: drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_abm_lcd.c:122:14: error: no previous prototype for