diff options
author | Jason Gunthorpe | 2013-11-26 21:30:46 +0100 |
---|---|---|
committer | Peter Huewe | 2014-01-06 14:37:25 +0100 |
commit | 19b94d2df5349acb7785fd7bc96a98541b07916c (patch) | |
tree | b950982a28a220e9f847cfc83115ea1988157a7b /drivers/virtio | |
parent | tpm: Make tpm-dev allocate a per-file structure (diff) | |
download | kernel-qcow2-linux-19b94d2df5349acb7785fd7bc96a98541b07916c.tar.gz kernel-qcow2-linux-19b94d2df5349acb7785fd7bc96a98541b07916c.tar.xz kernel-qcow2-linux-19b94d2df5349acb7785fd7bc96a98541b07916c.zip |
tpm: tpm_tis: Fix compile problems with CONFIG_PM_SLEEP/CONFIG_PNP
If CONFIG_PM_SLEEP=n, CONFIG_PNP=y we get this warning:
drivers/char/tpm/tpm_tis.c:706:13: warning: 'tpm_tis_reenable_interrupts' defined but not used [-Wunused-function]
This seems to have been introduced in a2fa3fb0d 'tpm: convert tpm_tis driver
to use dev_pm_ops from legacy pm_ops'
Also, unpon reviewing, the #ifdefs around tpm_tis_pm are not right, the first
reference is protected, the second is not. tpm_tis_pm is always defined so we
can drop the #ifdef.
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions