Commit a70a4694 authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown

regulator: bd9571mwv: Make symbol 'dev_attr_backup_mode' static

Fixes the following sparse warning:

drivers/regulator/bd9571mwv-regulator.c:220:1: warning:
 symbol 'dev_attr_backup_mode' was not declared. Should it be static?
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9d2fd4f0
...@@ -217,7 +217,7 @@ static ssize_t backup_mode_store(struct device *dev, ...@@ -217,7 +217,7 @@ static ssize_t backup_mode_store(struct device *dev,
return count; return count;
} }
DEVICE_ATTR_RW(backup_mode); static DEVICE_ATTR_RW(backup_mode);
static int bd9571mwv_suspend(struct device *dev) static int bd9571mwv_suspend(struct device *dev)
{ {
......
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