On Mon, Sep 11, 2023 at 12:19:38PM +0200, Lucas Segarra Fernandez wrote: > Include missing headers for GENMASK(), kstrtobool() and types. > > Add forward declaration for struct adf_accel_dev. Remove unneeded > include. > > This change doesn't introduce any function change. > > Signed-off-by: Lucas Segarra Fernandez <lucas.segarra.fernandez@xxxxxxxxx> > Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx> > Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> > --- > drivers/crypto/intel/qat/qat_common/adf_gen4_pm.c | 3 +++ > drivers/crypto/intel/qat/qat_common/adf_gen4_pm.h | 4 +++- > 2 files changed, 6 insertions(+), 1 deletion(-) > > diff --git a/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.c b/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.c > index 34c6cd8e27c0..3bde8759c2a2 100644 > --- a/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.c > +++ b/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.c > @@ -2,6 +2,9 @@ > /* Copyright(c) 2022 Intel Corporation */ > #include <linux/bitfield.h> > #include <linux/iopoll.h> > +#include <linux/kstrtox.h> > +#include <linux/types.h> Please use linux/kernel.h in C files. Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt