Skip to content

Commit d2efee6

Browse files
cricard13Jarkko Sakkinen
authored andcommitted
tpm: Add include guards in tpm.h
Add missing include guards in tpm.h Signed-off-by: Peter Huewe <peter.huewe@infineon.com> Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Tested-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
1 parent ec03c50 commit d2efee6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/char/tpm/tpm.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
* License.
2020
*
2121
*/
22+
23+
#ifndef __TPM_H__
24+
#define __TPM_H__
25+
2226
#include <linux/module.h>
2327
#include <linux/delay.h>
2428
#include <linux/fs.h>
@@ -528,3 +532,4 @@ extern unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *, u32);
528532
extern int tpm2_do_selftest(struct tpm_chip *chip);
529533
extern int tpm2_gen_interrupt(struct tpm_chip *chip);
530534
extern int tpm2_probe(struct tpm_chip *chip);
535+
#endif

0 commit comments

Comments
 (0)