Skip to content

Commit 4c30737

Browse files
vzapolskiyWim Van Sebroeck
authored andcommitted
watchdog: pnx4008: make global wdt_clk static
Silences sparse warning: drivers/watchdog/pnx4008_wdt.c:83:25: warning: symbol 'wdt_clk' was not declared. Should it be static? Signed-off-by: Vladimir Zapolskiy <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent b647d42 commit 4c30737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/watchdog/pnx4008_wdt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static unsigned int heartbeat = DEFAULT_HEARTBEAT;
8080

8181
static DEFINE_SPINLOCK(io_lock);
8282
static void __iomem *wdt_base;
83-
struct clk *wdt_clk;
83+
static struct clk *wdt_clk;
8484

8585
static int pnx4008_wdt_start(struct watchdog_device *wdd)
8686
{

0 commit comments

Comments
 (0)