aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2013-11-26 20:30:46 +0000
committerPeter Huewe <[email protected]>2014-01-06 13:37:25 +0000
commit19b94d2df5349acb7785fd7bc96a98541b07916c (patch)
treeb950982a28a220e9f847cfc83115ea1988157a7b /security/selinux/hooks.c
parenttpm: Make tpm-dev allocate a per-file structure (diff)
downloadkernel-19b94d2df5349acb7785fd7bc96a98541b07916c.tar.gz
kernel-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 <[email protected]> Signed-off-by: Peter Huewe <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions