Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: kernel test robot <lkp(a)intel.com>
---
irq_helpers.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/regulator/irq_helpers.c b/drivers/regulator/irq_helpers.c
index 57121554de8e8..f7eba80e164f8 100644
--- a/drivers/regulator/irq_helpers.c
+++ b/drivers/regulator/irq_helpers.c
@@ -283,8 +283,8 @@ static void dev_delayed_work_drop(struct device *dev, void *res)
cancel_delayed_work_sync(*(struct delayed_work **)res);
}
-int dev_delayed_work_autocancel(struct device *dev, struct delayed_work *w,
- void (*worker)(struct work_struct *work))
+static int dev_delayed_work_autocancel(struct device *dev, struct delayed_work *w,
+ void (*worker)(struct work_struct *work))
{
struct delayed_work **ptr;