Skip to content
Commit 07368d32 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

tpm_tis / PM: Fix unused function warning for CONFIG_PM_SLEEP



According to a compiler warning, the tpm_tis_resume() function is not
used for CONFIG_PM_SLEEP unset, so add a #ifdef to prevent it from
being built in that case.

Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 3567a4e2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment