提交 c765a6df 编写于 作者: F Fengguang Wu 提交者: Greg Kroah-Hartman

Drivers: hv: fcopy_open() can be static

CC: "K. Y. Srinivasan" <kys@microsoft.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 d2ae2e20
......@@ -327,7 +327,7 @@ static ssize_t fcopy_write(struct file *file, const char __user *buf,
return sizeof(int);
}
int fcopy_open(struct inode *inode, struct file *f)
static int fcopy_open(struct inode *inode, struct file *f)
{
/*
* The user level daemon that will open this device is
......@@ -344,7 +344,7 @@ int fcopy_open(struct inode *inode, struct file *f)
return 0;
}
int fcopy_release(struct inode *inode, struct file *f)
static int fcopy_release(struct inode *inode, struct file *f)
{
/*
* The daemon has exited; reset the state.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册