]> 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)
commit5b164786a07d697a47b59909b505834cf14967a7
treec5104e781ad9b8382034eb67bd3c05474636e63c
parentbc5edd80e824832d176fa279e9edaacc051b88c7
drm/amd/pm: Fix missing prototype warning

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

Fixes: 5c395d56a8c9d0 ("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