]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
watchdog: pnx4008: make global wdt_clk static
authorVladimir Zapolskiy <vz@mleia.com>
Wed, 28 Oct 2015 00:55:35 +0000 (02:55 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 23 Nov 2015 07:59:07 +0000 (08:59 +0100)
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>
drivers/watchdog/pnx4008_wdt.c

index 35319a49d01ab5c310eb03a893eb1ae23655df0f..313cd1c6fda0efcfa03897f1d23fc18b138e3779 100644 (file)
@@ -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)
 {