diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/tpm/tpm_atmel.c | 2 | ||||
-rw-r--r-- | drivers/char/tpm/tpm_nsc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/tpm/tpm_atmel.c b/drivers/char/tpm/tpm_atmel.c index d12ac1a346b5..8cb42e84723c 100644 --- a/drivers/char/tpm/tpm_atmel.c +++ b/drivers/char/tpm/tpm_atmel.c | |||
@@ -142,7 +142,7 @@ static struct attribute* atmel_attrs[] = { | |||
142 | &dev_attr_pcrs.attr, | 142 | &dev_attr_pcrs.attr, |
143 | &dev_attr_caps.attr, | 143 | &dev_attr_caps.attr, |
144 | &dev_attr_cancel.attr, | 144 | &dev_attr_cancel.attr, |
145 | 0, | 145 | NULL, |
146 | }; | 146 | }; |
147 | 147 | ||
148 | static struct attribute_group atmel_attr_grp = { .attrs = atmel_attrs }; | 148 | static struct attribute_group atmel_attr_grp = { .attrs = atmel_attrs }; |
diff --git a/drivers/char/tpm/tpm_nsc.c b/drivers/char/tpm/tpm_nsc.c index 6adfc07d0fd6..253871b5b1e2 100644 --- a/drivers/char/tpm/tpm_nsc.c +++ b/drivers/char/tpm/tpm_nsc.c | |||
@@ -244,7 +244,7 @@ static struct attribute * nsc_attrs[] = { | |||
244 | &dev_attr_pcrs.attr, | 244 | &dev_attr_pcrs.attr, |
245 | &dev_attr_caps.attr, | 245 | &dev_attr_caps.attr, |
246 | &dev_attr_cancel.attr, | 246 | &dev_attr_cancel.attr, |
247 | 0, | 247 | NULL, |
248 | }; | 248 | }; |
249 | 249 | ||
250 | static struct attribute_group nsc_attr_grp = { .attrs = nsc_attrs }; | 250 | static struct attribute_group nsc_attr_grp = { .attrs = nsc_attrs }; |