mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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: Lucas Segarra Fernandez <lucas.segarra.fernandez@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
f29cd5bb64
commit
756762decc
2 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
/* Copyright(c) 2022 Intel Corporation */
|
||||
#include <linux/bitfield.h>
|
||||
#include <linux/iopoll.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
#include "adf_accel_devices.h"
|
||||
#include "adf_common_drv.h"
|
||||
#include "adf_gen4_pm.h"
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
#ifndef 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 */
|
||||
#define ADF_GEN4_PM_HOST_MSG (0x50A01C)
|
||||
|
|
Loading…
Add table
Reference in a new issue