Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f640201 authored by Wei Yongjun's avatar Wei Yongjun Committed by Arnd Bergmann
Browse files

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: 5fe8b1cc ("hwrng: add OP-TEE based rng driver")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarSumit Garg <sumit.garg@linaro.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 62ade1be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -270,7 +270,7 @@ static int optee_rng_remove(struct device *dev)
	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,
		   0x83, 0x01, 0xd0, 0x9b, 0x61, 0x03, 0x6b, 0x64)},
	{}