Commit 5e9fefd2 authored by Peter Huewe's avatar Peter Huewe Committed by Jarkko Sakkinen

tpm, tpmrm: Mark tpmrm_write as static

sparse complains that tpmrm_write can be made static, and since it is
right we make it static.
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Reviewed-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
parent 8816188f
...@@ -45,7 +45,7 @@ static int tpmrm_release(struct inode *inode, struct file *file) ...@@ -45,7 +45,7 @@ static int tpmrm_release(struct inode *inode, struct file *file)
return 0; return 0;
} }
ssize_t tpmrm_write(struct file *file, const char __user *buf, static ssize_t tpmrm_write(struct file *file, const char __user *buf,
size_t size, loff_t *off) size_t size, loff_t *off)
{ {
struct file_priv *fpriv = file->private_data; struct file_priv *fpriv = file->private_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment