X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=crypto%2Frng.c;h=279dffdebf59815b5eccb59d69118c60a3be7205;hb=b8969a1b69672b163d057e7745ebc915df689211;hp=ffde0f64fb25934b5507841a83bdb13be9c24324;hpb=4140aafcff167b5b9e8dae6a1709a6de7cac6f74;p=linux-2.6-block.git diff --git a/crypto/rng.c b/crypto/rng.c index ffde0f64fb25..279dffdebf59 100644 --- a/crypto/rng.c +++ b/crypto/rng.c @@ -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