未验证 提交 a70a4694 编写于 作者: W Wei Yongjun 提交者: 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: NWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: NGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册