watchdog: dw_wdt: Staticize local symbol
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 14 May 2013 06:41:03 +0000 (12:11 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 11 Jul 2013 19:00:24 +0000 (21:00 +0200)
'dw_wdt_write' is used only in this file. Make it static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/dw_wdt.c

index 2e70fd07ea404ebab60bcb11fa2cd10ecddc5ff6..e621098bf6630e17ff6eb7a578028bc3f3f4a476 100644 (file)
@@ -154,8 +154,8 @@ static int dw_wdt_open(struct inode *inode, struct file *filp)
        return nonseekable_open(inode, filp);
 }
 
-ssize_t dw_wdt_write(struct file *filp, const char __user *buf, size_t len,
-                    loff_t *offset)
+static ssize_t dw_wdt_write(struct file *filp, const char __user *buf,
+                           size_t len, loff_t *offset)
 {
        if (!len)
                return 0;