Commit 0b930261 authored by Sachin Kamat's avatar Sachin Kamat Committed by Wim Van Sebroeck

watchdog: dw_wdt: Staticize local symbol

'dw_wdt_write' is used only in this file. Make it static.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent cf3cc8c2
...@@ -154,8 +154,8 @@ static int dw_wdt_open(struct inode *inode, struct file *filp) ...@@ -154,8 +154,8 @@ static int dw_wdt_open(struct inode *inode, struct file *filp)
return nonseekable_open(inode, filp); return nonseekable_open(inode, filp);
} }
ssize_t dw_wdt_write(struct file *filp, const char __user *buf, size_t len, static ssize_t dw_wdt_write(struct file *filp, const char __user *buf,
loff_t *offset) size_t len, loff_t *offset)
{ {
if (!len) if (!len)
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment