From 7ab3587447d81e6506b85925e7fc0ead1e310bbc Mon Sep 17 00:00:00 2001 From: Mark Featherston Date: Wed, 2 Sep 2026 15:38:42 -0700 Subject: [PATCH] drivers: watchdog: ts_wdt: Make poweroff static ts_wdt_poweroff() is only referenced within ts_wdt.c where it is assigned to pm_power_off, make it static to fix the following warning: drivers/watchdog/ts_wdt.c:101:6: warning: no previous prototype for 'ts_wdt_poweroff' [-Wmissing-prototypes] Signed-off-by: Mark Featherston --- drivers/watchdog/ts_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/ts_wdt.c b/drivers/watchdog/ts_wdt.c index bd17701eeb13d..b05546fcebe48 100644 --- a/drivers/watchdog/ts_wdt.c +++ b/drivers/watchdog/ts_wdt.c @@ -98,7 +98,7 @@ static int ts_wdt_restart(struct watchdog_device *wdd, return 0; } -void ts_wdt_poweroff(void) +static void ts_wdt_poweroff(void) { struct i2c_client *client = ts_wdt_poweroff_dev;