summaryrefslogtreecommitdiff
path: root/drivers/staging/ccree/ssi_driver.c
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-12-14 17:02:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-19 17:15:54 +0300
commitdc5591dc9c03e4cd22d3f0c3659196cc34668452 (patch)
tree77e777f88b44c618b1ee623724ca36aebefc611c /drivers/staging/ccree/ssi_driver.c
parenta92d24a8bc8c71061c94836b3b7ed52f83026c1f (diff)
downloadlinux-dc5591dc9c03e4cd22d3f0c3659196cc34668452.tar.xz
staging: ccree: fix fips event irq handling build
When moving from internal for kernel FIPS infrastructure the FIPS event irq handling code was left with the old ifdef by mistake. Fix it. Fixes: b7e607bf33a2 ("staging: ccree: move FIPS support to kernel infrastructure") Cc: stable@vger.kernel.org Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree/ssi_driver.c')
-rw-r--r--drivers/staging/ccree/ssi_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ccree/ssi_driver.c b/drivers/staging/ccree/ssi_driver.c
index df6d415ac522..56b5d45a205c 100644
--- a/drivers/staging/ccree/ssi_driver.c
+++ b/drivers/staging/ccree/ssi_driver.c
@@ -123,7 +123,7 @@ static irqreturn_t cc_isr(int irq, void *dev_id)
irr &= ~CC_COMP_IRQ_MASK;
complete_request(drvdata);
}
-#ifdef CC_SUPPORT_FIPS
+#ifdef CONFIG_CRYPTO_FIPS
/* TEE FIPS interrupt */
if (irr & CC_GPR0_IRQ_MASK) {
/* Mask interrupt - will be unmasked in Deferred service