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)
commita1235a01e0b208d424c5e72ff2e794dd356f74e4
treec5104e781ad9b8382034eb67bd3c05474636e63c
parent504390602444a209a52bfdcc59f539e9832079e3
drm/amd/pm: Fix missing prototype warning

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

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