[RFC PATCH] optee: __optee_enumerate_devices() can be static

From: kbuild test robot
Date: Thu May 21 2020 - 01:50:12 EST



Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tee/optee/device.c b/drivers/tee/optee/device.c
index 8263b308efd56..d4931dad07aaa 100644
--- a/drivers/tee/optee/device.c
+++ b/drivers/tee/optee/device.c
@@ -87,7 +87,7 @@ static int optee_register_device(const uuid_t *device_uuid, u32 device_id)
return rc;
}

-int __optee_enumerate_devices(u32 func)
+static int __optee_enumerate_devices(u32 func)
{
const uuid_t pta_uuid =
UUID_INIT(0x7011a688, 0xddde, 0x4053,