Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[HIFN]: Fix invalid config ifdefs for RNG support The CRYPTO_DEV_HIFN_795X_RNG ifdefs are missing the CONFIG_ prefix. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Patrick McHardy and committed by
Herbert Xu
f881d829 4ee29f6a

+3 -3
+3 -3
drivers/crypto/hifn_795x.c
··· 463 463 464 464 unsigned int pk_clk_freq; 465 465 466 - #ifdef CRYPTO_DEV_HIFN_795X_RNG 466 + #ifdef CONFIG_CRYPTO_DEV_HIFN_795X_RNG 467 467 unsigned int rng_wait_time; 468 468 ktime_t rngtime; 469 469 struct hwrng rng; ··· 795 795 } 796 796 }; 797 797 798 - #ifdef CRYPTO_DEV_HIFN_795X_RNG 798 + #ifdef CONFIG_CRYPTO_DEV_HIFN_795X_RNG 799 799 static int hifn_rng_data_present(struct hwrng *rng, int wait) 800 800 { 801 801 struct hifn_device *dev = (struct hifn_device *)rng->priv; ··· 880 880 dprintk("Chip %s: RNG engine has been successfully initialised.\n", 881 881 dev->name); 882 882 883 - #ifdef CRYPTO_DEV_HIFN_795X_RNG 883 + #ifdef CONFIG_CRYPTO_DEV_HIFN_795X_RNG 884 884 /* First value must be discarded */ 885 885 hifn_read_1(dev, HIFN_1_RNG_DATA); 886 886 dev->rngtime = ktime_get();