Commit f40e68ef authored by Nayna Jain's avatar Nayna Jain Committed by Jarkko Sakkinen

tpm: fix the missing .owner in tpm_bios_measurements_ops

This patch fixes the missing .owner field in
tpm_bios_measurements_ops definition.
Suggested-by: default avatarJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: default avatarNayna Jain <nayna@linux.vnet.ibm.com>
Reviewed-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
parent 748935ee
...@@ -349,6 +349,7 @@ static int tpm_bios_measurements_open(struct inode *inode, ...@@ -349,6 +349,7 @@ static int tpm_bios_measurements_open(struct inode *inode,
} }
static const struct file_operations tpm_bios_measurements_ops = { static const struct file_operations tpm_bios_measurements_ops = {
.owner = THIS_MODULE,
.open = tpm_bios_measurements_open, .open = tpm_bios_measurements_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
......
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