aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-06-02 19:28:46 +0100
committerRussell King (Oracle) <[email protected]>2023-06-19 09:35:53 +0100
commit57ea76fd1ca072b3024f55cb461628d982acf873 (patch)
treed87bf06d7485b484b389f458c3d82e7e175b452b /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent34bde7f271c4b885d0fdaf49509fcea711ac0bd9 (diff)
ARM: 9306/1: cacheflush: avoid __flush_anon_page() missing-prototype warning
The prototype for __flush_anon_page() is intentionally hidden inside the flush_anon_page() inline function to prevent it from being called from drivers. When building with 'W=1', this causes a warning: arch/arm/mm/flush.c:358:6: error: no previous prototype for '__flush_anon_page' [-Werror=missing-prototypes] Work around this by adding a prototype directly next to the function definition. Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions