Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2597685rdb; Fri, 22 Sep 2023 03:29:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGcwzgQ1A26pupSKoY/MmyjjTvESvVPhN89gkh3uEVCPXZIG9/raIDxYNoLw/aVYTx5pL6M X-Received: by 2002:a05:6808:1407:b0:3a3:b39d:a8bf with SMTP id w7-20020a056808140700b003a3b39da8bfmr9231488oiv.45.1695378587156; Fri, 22 Sep 2023 03:29:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695378587; cv=none; d=google.com; s=arc-20160816; b=VllZ2Fjb5BdYPy6AqYB4BWJDR1JB6IaBQJcI+YW5bze95k/+TSkRJnnJeaoNYqmEu9 bCC8P+TqrRUOS8LxnZfHSuKmnwMF0stpMrMDjRhbkdF9fgPzUeELa8EdJzZ2qjGkMkhu vomuL8ETl8dUNYSSzawqWqrPf15CQQEr5upNclhdi8uDzg19ELY5UDDP1bZc8OVnwJ3f TB9BLO5vyUHnn6MCyIq6DXwI25kCqzQAAG17On+DnRDPZE1LAPqMsigSWHHBOOp5pnRI DRsqQw1kunxMyNUUxZ4pZSaguIx8/5ehnR4zMyWLKuFhtNhSFxioTSPBPwHylPRAI4WN QJGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zxtvRVbZ3j/B3VwaENIYDWI3IXSUD/nP7U+htkJzLHI=; fh=DqGoCRe/JAMbHW6lbNIwQ1ScZkLVEZP1ytMELuiN0uo=; b=bx2cLW9FgO56oS9FaxUYatjqRTR36NiHGGyF2GrFyjAW72Ky5pJXdLUhqdsNShOrRg qoKhHKtUBLPEEihEPXiYF7DjQ4fKXCwP5trSXaftH4+0pYyPibscmHfXFqM8GK9qEWlN v9nPIcVRdyHruqAlZgNobAGxYMdgPg2RniKZfbbbaenykE9zIfGZOz2Jv5at1cea7u4e QeBnKCKDueuwtaudfU2wkl3i4sCPvem9Nnp6hvy6+Jcg3kdf/9LvOciFx3s/U3wrlQ/h qp/45cq0ZQW22vJUt4ncTXYULQZvnDUEhm3/xxId7iNkTxstFNNKciCnYlDvYLlM17Yw 4nPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BJwJOUG2; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id h129-20020a636c87000000b00574046766e0si3469427pgc.40.2023.09.22.03.29.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 03:29:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BJwJOUG2; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6147480202D7; Fri, 22 Sep 2023 03:17:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231223AbjIVKRz (ORCPT + 99 others); Fri, 22 Sep 2023 06:17:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230056AbjIVKRy (ORCPT ); Fri, 22 Sep 2023 06:17:54 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CF94A9 for ; Fri, 22 Sep 2023 03:17:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695377868; x=1726913868; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nOpnjYO8cnHiXkmLkpb3bPewKEwhboyBzwsk8IQ/mok=; b=BJwJOUG28fhlrZsI0R0NjNl/vRMyhA5257Ku1oZD8E/AeS2RcETx2mx/ ZPV/O7Xd4yPvCMeizb0D9U2qk9DNy0y66DG4EfWjSsPyQsC2gwZokcUKr 66WCsSTUBlpReVH5PaJPZWTo4X8zZETdKNHNhb3g/n+lkLZ9bpf3WO285 0nf0LfDLD3FYM+dzA+BnKFZ/oBgOQVYnLXzyMoJ889VUAAIq5UHhq02Sj cxB+SRCTwwDVyGPYTMOMo9+Hs34aHNwZHJWj/9d3cZu7XoFCeyYxSfzgJ 4Z+DN0La45GME8WBHpBNdkyVl/Q3Q7855eKQ1R/5ODF5b4G4Fk4pI8x6i w==; X-IronPort-AV: E=McAfee;i="6600,9927,10840"; a="371115937" X-IronPort-AV: E=Sophos;i="6.03,167,1694761200"; d="scan'208";a="371115937" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2023 03:17:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10840"; a="871199523" X-IronPort-AV: E=Sophos;i="6.03,167,1694761200"; d="scan'208";a="871199523" Received: from r007s007_zp31l10c01.deacluster.intel.com (HELO fedora.deacluster.intel.com) ([10.219.171.169]) by orsmga004.jf.intel.com with ESMTP; 22 Sep 2023 03:17:47 -0700 From: Lucas Segarra Fernandez To: herbert@gondor.apana.org.au Cc: linux-crypto@vger.kernel.org, qat-linux@intel.com, Lucas Segarra Fernandez , Giovanni Cabiddu Subject: [PATCH v5 1/2] crypto: qat - refactor included headers Date: Fri, 22 Sep 2023 12:15:26 +0200 Message-ID: <20230922101541.19408-2-lucas.segarra.fernandez@intel.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230922101541.19408-1-lucas.segarra.fernandez@intel.com> References: <20230922101541.19408-1-lucas.segarra.fernandez@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Fri, 22 Sep 2023 03:17:51 -0700 (PDT) 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 Reviewed-by: Giovanni Cabiddu --- drivers/crypto/intel/qat/qat_common/adf_gen4_pm.c | 2 ++ drivers/crypto/intel/qat/qat_common/adf_gen4_pm.h | 4 +++- 2 files changed, 5 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..b0e60471163c 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,8 @@ /* Copyright(c) 2022 Intel Corporation */ #include #include +#include + #include "adf_accel_devices.h" #include "adf_common_drv.h" #include "adf_gen4_pm.h" diff --git a/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.h b/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.h index c2768762cca3..39d37b352b45 100644 --- a/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.h +++ b/drivers/crypto/intel/qat/qat_common/adf_gen4_pm.h @@ -3,7 +3,9 @@ #ifndef ADF_GEN4_PM_H #define ADF_GEN4_PM_H -#include "adf_accel_devices.h" +#include + +struct adf_accel_dev; /* Power management registers */ #define ADF_GEN4_PM_HOST_MSG (0x50A01C) -- 2.41.0