mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
mfd: ene-kb3930: Make local symbol 'kb3930_power_off' static
The sparse tool complains as follows: drivers/mfd/ene-kb3930.c:36:15: warning: symbol 'kb3930_power_off' was not declared. Should it be static? The symbol is not used outside of this file. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
16f961544b
commit
5a2cf05422
@ -33,7 +33,7 @@ struct kb3930 {
|
||||
struct gpio_descs *off_gpios;
|
||||
};
|
||||
|
||||
struct kb3930 *kb3930_power_off;
|
||||
static struct kb3930 *kb3930_power_off;
|
||||
|
||||
#define EC_GPIO_WAVE 0
|
||||
#define EC_GPIO_OFF_MODE 1
|
||||
|
Loading…
Reference in New Issue
Block a user