Commit 01050bb7 authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

[PATCH] tpm_atmel build fix

drivers/char/tpm/tpm_atmel.c:131: unknown field `fops' specified in initializer
drivers/char/tpm/tpm_atmel.c:131: warning: missing braces around initializer
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 6a54f08e
...@@ -128,7 +128,7 @@ static struct tpm_vendor_specific tpm_atmel = { ...@@ -128,7 +128,7 @@ static struct tpm_vendor_specific tpm_atmel = {
.req_complete_mask = ATML_STATUS_BUSY | ATML_STATUS_DATA_AVAIL, .req_complete_mask = ATML_STATUS_BUSY | ATML_STATUS_DATA_AVAIL,
.req_complete_val = ATML_STATUS_DATA_AVAIL, .req_complete_val = ATML_STATUS_DATA_AVAIL,
.base = TPM_ATML_BASE, .base = TPM_ATML_BASE,
.miscdev.fops = &atmel_ops, .miscdev = { .fops = &atmel_ops, },
}; };
static int __devinit tpm_atml_init(struct pci_dev *pci_dev, static int __devinit tpm_atml_init(struct pci_dev *pci_dev,
......
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