Skip to content

Commit

Permalink
watchdog: pnx4008: make global wdt_clk static
Browse files Browse the repository at this point in the history
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 <vz@mleia.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Vladimir Zapolskiy authored and Wim Van Sebroeck committed Nov 23, 2015
1 parent b647d42 commit 4c30737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/pnx4008_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static unsigned int heartbeat = DEFAULT_HEARTBEAT;

static DEFINE_SPINLOCK(io_lock);
static void __iomem *wdt_base;
struct clk *wdt_clk;
static struct clk *wdt_clk;

static int pnx4008_wdt_start(struct watchdog_device *wdd)
{
Expand Down

0 comments on commit 4c30737

Please sign in to comment.