]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: cros_ec_ishtp: Make init_lock static
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Wed, 18 Dec 2019 10:07:20 +0000 (10:07 +0000)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Thu, 19 Dec 2019 19:01:14 +0000 (20:01 +0100)
commit2c353aed0e99d9a61e19aa2fa43a8f810f95f72f
tree5adade408b97e683624704d87866f94327eedbbd
parent1320741c85bc72cf6364608e4863467d49e24fc9
platform/chrome: cros_ec_ishtp: Make init_lock static

The init_lock is not declared or used outside of cros_ec_ishtp.c
so make it static to avoid the following warning:

drivers/platform/chrome/cros_ec_ishtp.c:79:1: warning: symbol 'init_lock' was not declared. Should it be static?

Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
drivers/platform/chrome/cros_ec_ishtp.c