crypto: api - Fix CRYPTO_USER checks for report function
[linux-2.6-block.git] / crypto / rng.c
index ffde0f64fb25934b5507841a83bdb13be9c24324..279dffdebf59815b5eccb59d69118c60a3be7205 100644 (file)
@@ -118,7 +118,7 @@ static const struct crypto_type crypto_rng_type = {
 #ifdef CONFIG_PROC_FS
        .show = crypto_rng_show,
 #endif
-#ifdef CONFIG_CRYPTO_USER
+#if IS_ENABLED(CONFIG_CRYPTO_USER)
        .report = crypto_rng_report,
 #endif
 #ifdef CONFIG_CRYPTO_STATS