
Some header files have included in hisi_qm_udrv.h, remove them from hisi_hpre.c. Signed-off-by: Weili Qian <qianweili@huawei.com> --- drv/hisi_hpre.c | 10 ++-------- include/drv/wd_rsa_drv.h | 2 ++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/drv/hisi_hpre.c b/drv/hisi_hpre.c index d503d84..16bb322 100644 --- a/drv/hisi_hpre.c +++ b/drv/hisi_hpre.c @@ -2,19 +2,13 @@ /* Copyright 2020-2021 Huawei Technologies Co.,Ltd. All rights reserved. */ #include <stdlib.h> -#include <unistd.h> #include <stdio.h> -#include <sys/mman.h> -#include <assert.h> -#include <string.h> -#include <stdint.h> -#include <fcntl.h> -#include <sys/stat.h> +#include <unistd.h> #include <sys/epoll.h> #include <sys/eventfd.h> +#include <sys/mman.h> #include <sys/types.h> #include "hisi_qm_udrv.h" -#include "wd.h" #include "../include/drv/wd_rsa_drv.h" #include "../include/drv/wd_dh_drv.h" #include "../include/drv/wd_ecc_drv.h" diff --git a/include/drv/wd_rsa_drv.h b/include/drv/wd_rsa_drv.h index 28c3337..83f1af2 100644 --- a/include/drv/wd_rsa_drv.h +++ b/include/drv/wd_rsa_drv.h @@ -3,6 +3,8 @@ #ifndef __WD_RSA_DRV_H #define __WD_RSA_DRV_H +#include <asm/types.h> + #include "../wd_rsa.h" #ifdef __cplusplus -- 2.33.0