summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-14 12:11:03 +0530
committerWim Van Sebroeck <wim@iguana.be>2013-07-11 21:00:24 +0200
commit0b9302619963e46931c64693fd24d467c39bbb4c (patch)
tree95168168f27212b63282b91bd61cc84b591957fe /drivers
parentcf3cc8c252cbd8d50ed61ef5e176bc577f38cf71 (diff)
downloadop-kernel-dev-0b9302619963e46931c64693fd24d467c39bbb4c.zip
op-kernel-dev-0b9302619963e46931c64693fd24d467c39bbb4c.tar.gz
watchdog: dw_wdt: Staticize local symbol
'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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/watchdog/dw_wdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c
index 2e70fd0..e621098 100644
--- a/drivers/watchdog/dw_wdt.c
+++ b/drivers/watchdog/dw_wdt.c
@@ -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;
OpenPOWER on IntegriCloud