diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-02-18 15:24:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 15:24:55 -0500 |
commit | c765a6dfad10b857e9681d7c4dec375ebe78db8a (patch) | |
tree | 19e7c4d15b2f716770105af33f6b130f88c4010b /drivers/hv | |
parent | d2ae2e20fbdde5a65f3a5a153044ab1e5c53f7cc (diff) |
Drivers: hv: fcopy_open() can be static
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>
Diffstat (limited to 'drivers/hv')
-rw-r--r-- | drivers/hv/hv_fcopy.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, | |||
327 | return sizeof(int); | 327 | return sizeof(int); |
328 | } | 328 | } |
329 | 329 | ||
330 | int fcopy_open(struct inode *inode, struct file *f) | 330 | static int fcopy_open(struct inode *inode, struct file *f) |
331 | { | 331 | { |
332 | /* | 332 | /* |
333 | * The user level daemon that will open this device is | 333 | * The user level daemon that will open this device is |
@@ -344,7 +344,7 @@ int fcopy_open(struct inode *inode, struct file *f) | |||
344 | return 0; | 344 | return 0; |
345 | } | 345 | } |
346 | 346 | ||
347 | int fcopy_release(struct inode *inode, struct file *f) | 347 | static int fcopy_release(struct inode *inode, struct file *f) |
348 | { | 348 | { |
349 | /* | 349 | /* |
350 | * The daemon has exited; reset the state. | 350 | * The daemon has exited; reset the state. |