mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
hwrng: make symbol 'optee_rng_id_table' static
Fixes the following sparse warning:
drivers/char/hw_random/optee-rng.c:265:35: warning:
symbol 'optee_rng_id_table' was not declared. Should it be static?
Fixes: 5fe8b1cc6a
("hwrng: add OP-TEE based rng driver")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
62ade1bed2
commit
4f640201a8
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ static int optee_rng_remove(struct device *dev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct tee_client_device_id optee_rng_id_table[] = {
|
static const struct tee_client_device_id optee_rng_id_table[] = {
|
||||||
{UUID_INIT(0xab7a617c, 0xb8e7, 0x4d8f,
|
{UUID_INIT(0xab7a617c, 0xb8e7, 0x4d8f,
|
||||||
0x83, 0x01, 0xd0, 0x9b, 0x61, 0x03, 0x6b, 0x64)},
|
0x83, 0x01, 0xd0, 0x9b, 0x61, 0x03, 0x6b, 0x64)},
|
||||||
{}
|
{}
|
||||||
|
|
Loading…
Reference in a new issue