Messages in this thread | | | Date | Fri, 13 Oct 2023 18:32:21 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH v4 3/5] crypto: qcom-rng - Add hw_random interface support |
| |
On Tue, Oct 03, 2023 at 09:10:21AM +0200, neil.armstrong@linaro.org wrote: > > @@ -198,6 +233,21 @@ static int qcom_rng_remove(struct platform_device *pdev) > return 0; > } > > +struct qcom_rng_of_data qcom_prng_of_data = { > + .skip_init = false, > + .hwrng_support = false, > +}; > + > +struct qcom_rng_of_data qcom_prng_ee_of_data = { > + .skip_init = true, > + .hwrng_support = false, > +}; > + > +struct qcom_rng_of_data qcom_trng_of_data = { > + .skip_init = true, > + .hwrng_support = true, > +}; > +
I've added static to these three. Please build your patches with C=1 W=1 in future.
Thanks, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |