tee: shm: make function __tee_shm_alloc static
authorColin Ian King <colin.king@canonical.com>
Fri, 22 Dec 2017 17:01:22 +0000 (17:01 +0000)
committerJens Wiklander <jens.wiklander@linaro.org>
Thu, 28 Dec 2017 21:19:57 +0000 (22:19 +0100)
commit80ec6f5de60b6934f145b2f7e5369592bcab85f3
tree2fa7e7a215b43bc15da527326716ca1f7b06cc9a
parentcdbcf83d29c1bf2aaa65260e74beaac1bcdc231c
tee: shm: make function __tee_shm_alloc static

The function __tee_shm_alloc is local to the source and does
not need to be in global scope, so make it static.

Cleans up sparse warning:
symbol '__tee_shm_alloc' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/tee_shm.c