From: Fengguang Wu Date: Tue, 18 Feb 2014 20:24:55 +0000 (-0800) Subject: Drivers: hv: fcopy_open() can be static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c765a6dfad10b857e9681d7c4dec375ebe78db8a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Drivers: hv: fcopy_open() can be static CC: "K. Y. Srinivasan" CC: "Greg Kroah-Hartman" Signed-off-by: Fengguang Wu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/hv/hv_fcopy.c b/drivers/hv/hv_fcopy.c index 285b5e210a09..eaaa3d843b80 100644 --- a/drivers/hv/hv_fcopy.c +++ b/drivers/hv/hv_fcopy.c @@ -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.