Commit e054d718 authored by Ben Dooks (Codethink)'s avatar Ben Dooks (Codethink) Committed by Enric Balletbo i Serra

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: default avatarBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
parent c82ebf1b
......@@ -76,7 +76,7 @@ struct cros_ish_in_msg {
*
* The writers are .reset() and .probe() function.
*/
DECLARE_RWSEM(init_lock);
static DECLARE_RWSEM(init_lock);
/**
* struct response_info - Encapsulate firmware response related
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment