projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf3cc8c
)
watchdog: dw_wdt: Staticize local symbol
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 14 May 2013 06:41:03 +0000
(12:11 +0530)
committer
Wim 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
patch
|
blob
|
history
diff --git
a/drivers/watchdog/dw_wdt.c
b/drivers/watchdog/dw_wdt.c
index 2e70fd07ea404ebab60bcb11fa2cd10ecddc5ff6..e621098bf6630e17ff6eb7a578028bc3f3f4a476 100644
(file)
--- 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);
}
-s
size_t dw_wdt_write(struct file *filp, const char __user *buf, size_t len
,
- loff_t *offset)
+s
tatic ssize_t dw_wdt_write(struct file *filp, const char __user *buf
,
+
size_t len,
loff_t *offset)
{
if (!len)
return 0;