diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2026-02-16 12:04:33 +0100 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-03-25 12:44:51 +0000 |
| commit | f385ec3259b387e55c8c0c7933813a5ce14374d5 (patch) | |
| tree | 1d66ba5f7d368ae4721adaf846d965c5bebf8fbc /drivers/mfd | |
| parent | eaa0a41774e7603451a7cd8d480de6374dbbb15d (diff) | |
mfd: max77705: Make max77705_pm_ops variable static
File-scope 'max77705_pm_ops' is not used outside of this unit, so make
it static to silence sparse warning:
max77705.c:160:1: warning: symbol 'max77705_pm_ops' was not declared. Should it be static?
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260216110432.160084-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/mfd')
| -rw-r--r-- | drivers/mfd/max77705.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/max77705.c b/drivers/mfd/max77705.c index e1a9bfd65856..e98c76d6b699 100644 --- a/drivers/mfd/max77705.c +++ b/drivers/mfd/max77705.c @@ -157,7 +157,7 @@ static int max77705_resume(struct device *dev) return 0; } -DEFINE_SIMPLE_DEV_PM_OPS(max77705_pm_ops, max77705_suspend, max77705_resume); +static DEFINE_SIMPLE_DEV_PM_OPS(max77705_pm_ops, max77705_suspend, max77705_resume); static const struct of_device_id max77705_i2c_of_match[] = { { .compatible = "maxim,max77705" }, |
