From: Nayna Jain Date: Mon, 14 Nov 2016 10:00:53 +0000 (-0500) Subject: tpm: fix the missing .owner in tpm_bios_measurements_ops X-Git-Tag: v4.14-rc1~1887^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f40e68ef4a111d194a801abd1695f1ec8ef119ff;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Nayna Jain Reviewed-by: Jarkko Sakkinen Tested-by: Jarkko Sakkinen Signed-off-by: Jarkko Sakkinen --- diff --git a/drivers/char/tpm/tpm_eventlog.c b/drivers/char/tpm/tpm_eventlog.c index 2c4bc9972..c6c80f0 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,