Commit 756762de authored by Lucas Segarra Fernandez's avatar Lucas Segarra Fernandez Committed by Herbert Xu

crypto: qat - refactor included headers

Include kernel.h 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: default avatarLucas Segarra Fernandez <lucas.segarra.fernandez@intel.com>
Reviewed-by: default avatarGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f29cd5bb
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
/* Copyright(c) 2022 Intel Corporation */ /* Copyright(c) 2022 Intel Corporation */
#include <linux/bitfield.h> #include <linux/bitfield.h>
#include <linux/iopoll.h> #include <linux/iopoll.h>
#include <linux/kernel.h>
#include "adf_accel_devices.h" #include "adf_accel_devices.h"
#include "adf_common_drv.h" #include "adf_common_drv.h"
#include "adf_gen4_pm.h" #include "adf_gen4_pm.h"
......
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
#ifndef ADF_GEN4_PM_H #ifndef ADF_GEN4_PM_H
#define ADF_GEN4_PM_H #define ADF_GEN4_PM_H
#include "adf_accel_devices.h" #include <linux/bits.h>
struct adf_accel_dev;
/* Power management registers */ /* Power management registers */
#define ADF_GEN4_PM_HOST_MSG (0x50A01C) #define ADF_GEN4_PM_HOST_MSG (0x50A01C)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment