]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Drivers: hv: fcopy_open() can be static
authorFengguang Wu <fengguang.wu@intel.com>
Tue, 18 Feb 2014 20:24:55 +0000 (12:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 20:24:55 +0000 (12:24 -0800)
CC: "K. Y. Srinivasan" <kys@microsoft.com>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_fcopy.c

index 285b5e210a09904d8e4a827f865bbb55dbf81b7a..eaaa3d843b8052c4c0d5b513567da720c6cfbe7a 100644 (file)
@@ -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.