summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorNayna Jain <nayna@linux.vnet.ibm.com>2016-11-14 05:00:53 -0500
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2016-11-28 01:31:32 +0200
commitf40e68ef4a111d194a801abd1695f1ec8ef119ff (patch)
treebca5acf77d93b5bebb73c997d7d718a276f5520a /drivers/char
parent748935eeb72c34368ab514a2bfdf75161768cec0 (diff)
downloadblackbird-obmc-linux-f40e68ef4a111d194a801abd1695f1ec8ef119ff.tar.gz
blackbird-obmc-linux-f40e68ef4a111d194a801abd1695f1ec8ef119ff.zip
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: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Nayna Jain <nayna@linux.vnet.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/tpm/tpm_eventlog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm_eventlog.c b/drivers/char/tpm/tpm_eventlog.c
index 2c4bc99729e5..c6c80f0f25a2 100644
--- a/drivers/char/tpm/tpm_eventlog.c
+++ b/drivers/char/tpm/tpm_eventlog.c
@@ -349,6 +349,7 @@ static int tpm_bios_measurements_open(struct inode *inode,
}
static const struct file_operations tpm_bios_measurements_ops = {
+ .owner = THIS_MODULE,
.open = tpm_bios_measurements_open,
.read = seq_read,
.llseek = seq_lseek,
OpenPOWER on IntegriCloud