]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mce: mce_chrdev_write() can be static
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 21 Apr 2015 21:05:25 +0000 (14:05 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 May 2015 19:56:17 +0000 (12:56 -0700)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
arch/x86/kernel/cpu/mcheck/mce.c

index 1fd04a02d90a995562a37b4ec6faf3ab18d7e213..d4298feaa6fb2d4995f015356e9b43e3795d7935 100644 (file)
@@ -1932,8 +1932,8 @@ void register_mce_write_callback(ssize_t (*fn)(struct file *filp,
 }
 EXPORT_SYMBOL_GPL(register_mce_write_callback);
 
-ssize_t mce_chrdev_write(struct file *filp, const char __user *ubuf,
-                        size_t usize, loff_t *off)
+static ssize_t mce_chrdev_write(struct file *filp, const char __user *ubuf,
+                               size_t usize, loff_t *off)
 {
        if (mce_write)
                return mce_write(filp, ubuf, usize, off);