Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262309
b: refs/heads/master
c: 1560ffe
h: refs/heads/master
i:
  262307: dd6f3ad
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Aug 4, 2011
1 parent a2795a2 commit ead1d61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3dab1bce8e840606e76f1bad5a009328e2aa35c7
refs/heads/master: 1560ffe62a9d53a51faeec7417becfba4f2a0d18
7 changes: 6 additions & 1 deletion trunk/drivers/char/tpm/tpm_tis.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ enum tis_defaults {
static LIST_HEAD(tis_chips);
static DEFINE_SPINLOCK(tis_lock);

#ifdef CONFIG_PNP
#if defined(CONFIG_PNP) && defined(CONFIG_ACPI)
static int is_itpm(struct pnp_dev *dev)
{
struct acpi_device *acpi = pnp_acpi_device(dev);
Expand All @@ -93,6 +93,11 @@ static int is_itpm(struct pnp_dev *dev)

return 0;
}
#else
static inline int is_itpm(struct pnp_dev *dev)
{
return 0;
}
#endif

static int check_locality(struct tpm_chip *chip, int l)
Expand Down

0 comments on commit ead1d61

Please sign in to comment.