diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-06-25 16:33:09 -0400 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-09-15 09:04:21 -0400 |
commit | d4abd9565dd6da1ab2a402af77617d32949ed06c (patch) | |
tree | 3b4dbbb750a28cecb6fdea727891c210a615f805 /drivers/char | |
parent | 09dd7703753f6fdd68b184de65b720b040dd1721 (diff) |
tpm: remove unnecessary externs from tpm.h
Removed unnecessary externs from tpm.h.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/tpm/tpm.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index b0585e99da49..e92f4b1a449c 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h | |||
@@ -486,26 +486,26 @@ ssize_t tpm_transmit_cmd(struct tpm_chip *chip, const void *cmd, int len, | |||
486 | unsigned int flags, const char *desc); | 486 | unsigned int flags, const char *desc); |
487 | ssize_t tpm_getcap(struct tpm_chip *chip, __be32 subcap_id, cap_t *cap, | 487 | ssize_t tpm_getcap(struct tpm_chip *chip, __be32 subcap_id, cap_t *cap, |
488 | const char *desc); | 488 | const char *desc); |
489 | extern int tpm_get_timeouts(struct tpm_chip *); | 489 | int tpm_get_timeouts(struct tpm_chip *); |
490 | extern void tpm_gen_interrupt(struct tpm_chip *); | 490 | void tpm_gen_interrupt(struct tpm_chip *); |
491 | int tpm1_auto_startup(struct tpm_chip *chip); | 491 | int tpm1_auto_startup(struct tpm_chip *chip); |
492 | extern int tpm_do_selftest(struct tpm_chip *); | 492 | int tpm_do_selftest(struct tpm_chip *chip); |
493 | extern unsigned long tpm_calc_ordinal_duration(struct tpm_chip *, u32); | 493 | unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal); |
494 | extern int tpm_pm_suspend(struct device *); | 494 | int tpm_pm_suspend(struct device *dev); |
495 | extern int tpm_pm_resume(struct device *); | 495 | int tpm_pm_resume(struct device *dev); |
496 | extern int wait_for_tpm_stat(struct tpm_chip *, u8, unsigned long, | 496 | int wait_for_tpm_stat(struct tpm_chip *chip, u8 mask, unsigned long timeout, |
497 | wait_queue_head_t *, bool); | 497 | wait_queue_head_t *queue, bool check_cancel); |
498 | 498 | ||
499 | struct tpm_chip *tpm_chip_find_get(int chip_num); | 499 | struct tpm_chip *tpm_chip_find_get(int chip_num); |
500 | __must_check int tpm_try_get_ops(struct tpm_chip *chip); | 500 | __must_check int tpm_try_get_ops(struct tpm_chip *chip); |
501 | void tpm_put_ops(struct tpm_chip *chip); | 501 | void tpm_put_ops(struct tpm_chip *chip); |
502 | 502 | ||
503 | extern struct tpm_chip *tpm_chip_alloc(struct device *dev, | 503 | struct tpm_chip *tpm_chip_alloc(struct device *dev, |
504 | const struct tpm_class_ops *ops); | 504 | const struct tpm_class_ops *ops); |
505 | extern struct tpm_chip *tpmm_chip_alloc(struct device *pdev, | 505 | struct tpm_chip *tpmm_chip_alloc(struct device *pdev, |
506 | const struct tpm_class_ops *ops); | 506 | const struct tpm_class_ops *ops); |
507 | extern int tpm_chip_register(struct tpm_chip *chip); | 507 | int tpm_chip_register(struct tpm_chip *chip); |
508 | extern void tpm_chip_unregister(struct tpm_chip *chip); | 508 | void tpm_chip_unregister(struct tpm_chip *chip); |
509 | 509 | ||
510 | void tpm_sysfs_add_device(struct tpm_chip *chip); | 510 | void tpm_sysfs_add_device(struct tpm_chip *chip); |
511 | 511 | ||
@@ -532,8 +532,8 @@ ssize_t tpm2_get_tpm_pt(struct tpm_chip *chip, u32 property_id, | |||
532 | u32 *value, const char *desc); | 532 | u32 *value, const char *desc); |
533 | 533 | ||
534 | int tpm2_auto_startup(struct tpm_chip *chip); | 534 | int tpm2_auto_startup(struct tpm_chip *chip); |
535 | extern void tpm2_shutdown(struct tpm_chip *chip, u16 shutdown_type); | 535 | void tpm2_shutdown(struct tpm_chip *chip, u16 shutdown_type); |
536 | extern unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *, u32); | 536 | unsigned long tpm2_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal); |
537 | extern int tpm2_gen_interrupt(struct tpm_chip *chip); | 537 | int tpm2_gen_interrupt(struct tpm_chip *chip); |
538 | extern int tpm2_probe(struct tpm_chip *chip); | 538 | int tpm2_probe(struct tpm_chip *chip); |
539 | #endif | 539 | #endif |