mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
crypto: ccp - Make function sev_get_firmware() static
Fixes the following sparse warning:
drivers/crypto/ccp/psp-dev.c:444:5: warning:
symbol 'sev_get_firmware' was not declared. Should it be static?
Fixes: e93720606e ("crypto: ccp - Allow SEV firmware to be chosen based on Family and Model")
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
fae29f135e
commit
5182f26f6f
1 changed files with 2 additions and 1 deletions
|
|
@ -441,7 +441,8 @@ static int sev_get_api_version(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int sev_get_firmware(struct device *dev, const struct firmware **firmware)
|
||||
static int sev_get_firmware(struct device *dev,
|
||||
const struct firmware **firmware)
|
||||
{
|
||||
char fw_name_specific[SEV_FW_NAME_SIZE];
|
||||
char fw_name_subset[SEV_FW_NAME_SIZE];
|
||||
|
|
|
|||
Loading…
Reference in a new issue