]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: Fix missing prototype warning
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 23 Feb 2022 05:10:56 +0000 (10:40 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:26:36 +0000 (14:26 -0500)
commitffdab796bb3af6502f3a2b345bb80546c626a7b8
treec5104e781ad9b8382034eb67bd3c05474636e63c
parentd8febc95898317a7c1ce2ff509f6cf7963412562
drm/amd/pm: Fix missing prototype warning

Fix below warning
warning: no previous prototype for '__smu_get_enabled_features' [-Wmissing-prototypes]

Fixes: 4a522a366cbf71 ("drm/amd/pm: validate SMU feature enable message for getting feature enabled mask")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c