Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp284502lqb; Tue, 16 Apr 2024 16:11:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUW5Jd1AeidtCqTTZMPrhe/hVF3BDCAD2109IvcZ3LNTh3KIBUJ881WWNpXxCq6VoG6g2CGFn0rlb1OEtoEb4o6ZzESxM2wHv7eQnNPjA== X-Google-Smtp-Source: AGHT+IE31v5lMa4p10VGiDUTiRHFaL6u1mImpoH9Ok3eWx3WucdOGtyRDA1aNkM2rBIN2wi+Rdjm X-Received: by 2002:a05:620a:450c:b0:78d:50b7:d683 with SMTP id t12-20020a05620a450c00b0078d50b7d683mr19101906qkp.11.1713309084985; Tue, 16 Apr 2024 16:11:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713309084; cv=pass; d=google.com; s=arc-20160816; b=fLfA4o+KGDb/pP5P9k3fcWhJ/TznATfmR7Ud8vBhNEZvoV7FG+7yVUUYtHBZs84nrT 70E5jY4G9k/Xe68mdLpdttMm0JgAM0iFReG8W+whkkcE/e86+boc0IvbDbun2XV/GDqm UY+7Ush57VsR+trYDlpd8E+gSwh60jo3UVqpBAu/y7WnweflohuqspnqRT6QcNhbffGM Ipt+Y4mRa7sFrZxmDeISSkgk4Dg4BCr9N0XpGne7G+KzUkGadYHvIMGT+wwp9Z8wiEUU tcbVN5PZVyh9cQSirn6x7O6L/2BEaKwjr3+DstYNbSTru2eTB7hfinWfJpgOitFEA2A1 uSIw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=8/czbVFltjLc3JL/OguNyYjQSM1WrT0Zhxvso4G7Tfg=; fh=Up4WN6RBxSbDvhOFyvqvHewDyKbCV4dh7exQOkkWI0I=; b=d/FJe9pnYziBjOvuPCerGb9jkcguS+T5thGkt6vfaqZffzR0f8Pio9UcKhLMACsVdI i7FhAJ6b6ZBVraZhPmDoAlg/OUHCIs+9GOxopQIgwPoqcUyw6u5TDiTwQLLks64AynYw o8yphjux0UIcBk+9SW/sSJP0zRcjG+AoXQJsfwmfKn7iI2UALpNDq4jEgqRCFy3MFexN bKjddl3jRMY7TCcVxDvnHSMxD3qYTeRmDfQkN0y50QZ6zmzsVcY4bAikhzobgfyoOsOl R29eegqJjQfdahgDAGngvwNJRZk7ZipUZCqSUsZzJ/s8WQobDzEBXVnzHAGiXhpiSHHn M1gg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AaQfxPDK; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-147738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147738-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id wx16-20020a05620a5a5000b0078d55f97132si13264858qkn.165.2024.04.16.16.11.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 16:11:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AaQfxPDK; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-147738-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147738-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B22431C21540 for ; Tue, 16 Apr 2024 23:11:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6DB9813BAE9; Tue, 16 Apr 2024 23:10:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AaQfxPDK" Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C329213AA4D for ; Tue, 16 Apr 2024 23:10:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713309036; cv=none; b=WVW8JW4BCdz3t52I+NGWWVxMD2wESt8GFsNtu49a9F9M/HqJFnxAo8jnrf2opb9pWajI8Ol5QWDacbPbq6aLWq/zBB6WRX+4I/8JyBOkTdUnsTDHfS8lBhhME7yI/X35qxX4UVbuPhsYy6MqQmGEWuhodsVT3iX2n1X9lgh8Hg4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713309036; c=relaxed/simple; bh=pDIFH5Nui80QB/OsE0XuG8atQ/4Ispy93r0OYG5EBAg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=u7D1EWup+JRPHOEpCHsYgBem0gZ0wlZBM320igzk502v1DdoRJfhhaB7LTZssLIVy8iWF3hVLRy7Iu2t4t6f+8kBDJPBqCQ08K9bdpUaaNER6rmoY1AQ6sJQ+IkelZs/fJmWn4l2PEUhUa1AQyCyRZDca/qODLNwEtdytaHmIOw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=AaQfxPDK; arc=none smtp.client-ip=209.85.166.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-io1-f50.google.com with SMTP id ca18e2360f4ac-7d6a772af5bso172779839f.1 for ; Tue, 16 Apr 2024 16:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713309034; x=1713913834; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8/czbVFltjLc3JL/OguNyYjQSM1WrT0Zhxvso4G7Tfg=; b=AaQfxPDK53QmvXrL/4rh5ulWnvCvOYz5emGJ/ZwcJFWk5HY0RF4nUjtDhzMVP7XXCE aNzDLRKmlLV5m3/Oz07QCAANiZxolA8PVfjZ7fYIF7MMVBejY2/uDZzcZA0VqCSljFBF pw8n9QbeFUEBPolKYwAKvbxwIExrbUK5LgvfegUm6ZWNNU5kbrWFBWuRnS5T2wZUk1sy tuvqPCTbEI6jhB6Lso95XoaRiXMwxCXXbwTDC6r02wjuVT0Gy0wMvY6QsFv+zRnc4I8l FoRgd/RhyhKNLUKp87rIs4mWqV3pEBBfRLhx1UvZIudSSioQTOk+645Wgbn6iEKMj4Tp HHCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713309034; x=1713913834; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8/czbVFltjLc3JL/OguNyYjQSM1WrT0Zhxvso4G7Tfg=; b=AGGWB0b0RpJY82st9jDb2RPGnzjP8tJDhfGIkTbrWD798PPA+nI1kNdcjLoKbrMW6Y /L7s/xyYuGQ6HR/HTean5yBvC1lAmFH03XRwCLsPPjKzeK+kNJzZLUAtGi0jnotiES0r O9jGnRui8wyazao9W0/AjI8BiER5ZMX9xom7UULGP8zg8b3+g4uRdnYb8i3dZR5AGs5Z jv8hm6A0Nun2f3mDpin+QatX/Yg8nMjsrH2PDt3pxvGT+byG7btpcMGbD9JRxhCyhyQ7 gWY0T3KmGFB4X9zB1u5CUf8iwqUvDLuuoHZfgh7hGWgV2sq7nJ2oPdaJy8xUBsI9tUBf iW6Q== X-Forwarded-Encrypted: i=1; AJvYcCVOzFiqPkFa0ssTeZ6Pj27dD7sFODWDJmzmHiExdmhsQp3xWGWwh59O4AaCXGOwjU8oqE4IrDp8knXr140danFhTgS1ZUVM+GisKGqZ X-Gm-Message-State: AOJu0YwL9JtW38olOCYgekM/Rs8fcLinNHTn1oH6YrcL+IJyphqDzNDt 6mdYMc+gWe3S9ahRD6OP21SSMVzk0ZTEt8RdTcBjSweP1XLqW9Aaj3m2XATy27I= X-Received: by 2002:a05:6602:4990:b0:7d5:e78b:fd1d with SMTP id eg16-20020a056602499000b007d5e78bfd1dmr18320154iob.6.1713309033993; Tue, 16 Apr 2024 16:10:33 -0700 (PDT) Received: from localhost.localdomain (c-73-228-159-35.hsd1.mn.comcast.net. [73.228.159.35]) by smtp.gmail.com with ESMTPSA id le9-20020a056638960900b004846ed9fcb1sm372170jab.101.2024.04.16.16.10.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 16:10:33 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: mka@chromium.org, andersson@kernel.org, quic_cpratapa@quicinc.com, quic_avuyyuru@quicinc.com, quic_jponduru@quicinc.com, quic_subashab@quicinc.com, elder@kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 3/7] net: ipa: include "ipa_interrupt.h" where needed Date: Tue, 16 Apr 2024 18:10:14 -0500 Message-Id: <20240416231018.389520-4-elder@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240416231018.389520-1-elder@linaro.org> References: <20240416231018.389520-1-elder@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The IPA structure contains an ipa_interrupt structure pointer, and that structure is declared in "ipa.h". There is no need to include "ipa_interrupt.h" in that header file. Instead, include "ipa_interrupt.h" in the three source files (in addition to "ipa_main.c") that actually use the functions that are declared there. Similarly, three files use symbols defined in "ipa_reg.h" but do not include that file; include it. Signed-off-by: Alex Elder --- drivers/net/ipa/ipa.h | 1 - drivers/net/ipa/ipa_cmd.c | 1 + drivers/net/ipa/ipa_endpoint.c | 2 ++ drivers/net/ipa/ipa_power.c | 3 ++- drivers/net/ipa/ipa_uc.c | 4 +++- 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/net/ipa/ipa.h b/drivers/net/ipa/ipa.h index 968175019a5e3..cdfd579af5b94 100644 --- a/drivers/net/ipa/ipa.h +++ b/drivers/net/ipa/ipa.h @@ -14,7 +14,6 @@ #include "ipa_mem.h" #include "ipa_qmi.h" #include "ipa_endpoint.h" -#include "ipa_interrupt.h" struct clk; struct icc_path; diff --git a/drivers/net/ipa/ipa_cmd.c b/drivers/net/ipa/ipa_cmd.c index 2e7762171e480..969b93fe5c495 100644 --- a/drivers/net/ipa/ipa_cmd.c +++ b/drivers/net/ipa/ipa_cmd.c @@ -14,6 +14,7 @@ #include "gsi_trans.h" #include "ipa.h" #include "ipa_endpoint.h" +#include "ipa_reg.h" #include "ipa_table.h" #include "ipa_cmd.h" #include "ipa_mem.h" diff --git a/drivers/net/ipa/ipa_endpoint.c b/drivers/net/ipa/ipa_endpoint.c index 4e8849c1f32d9..8284b0a1178c3 100644 --- a/drivers/net/ipa/ipa_endpoint.c +++ b/drivers/net/ipa/ipa_endpoint.c @@ -19,9 +19,11 @@ #include "ipa_cmd.h" #include "ipa_mem.h" #include "ipa_modem.h" +#include "ipa_reg.h" #include "ipa_table.h" #include "ipa_gsi.h" #include "ipa_power.h" +#include "ipa_interrupt.h" /* Hardware is told about receive buffers once a "batch" has been queued */ #define IPA_REPLENISH_BATCH 16 /* Must be non-zero */ diff --git a/drivers/net/ipa/ipa_power.c b/drivers/net/ipa/ipa_power.c index 41ca7ef5e20fc..42d728f08c930 100644 --- a/drivers/net/ipa/ipa_power.c +++ b/drivers/net/ipa/ipa_power.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. - * Copyright (C) 2018-2022 Linaro Ltd. + * Copyright (C) 2018-2024 Linaro Ltd. */ #include @@ -15,6 +15,7 @@ #include "ipa.h" #include "ipa_power.h" +#include "ipa_interrupt.h" #include "ipa_endpoint.h" #include "ipa_modem.h" #include "ipa_data.h" diff --git a/drivers/net/ipa/ipa_uc.c b/drivers/net/ipa/ipa_uc.c index bfd5dc6dab432..17352f21d5f87 100644 --- a/drivers/net/ipa/ipa_uc.c +++ b/drivers/net/ipa/ipa_uc.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. - * Copyright (C) 2018-2022 Linaro Ltd. + * Copyright (C) 2018-2024 Linaro Ltd. */ #include @@ -10,8 +10,10 @@ #include #include "ipa.h" +#include "ipa_reg.h" #include "ipa_uc.h" #include "ipa_power.h" +#include "ipa_interrupt.h" /** * DOC: The IPA embedded microcontroller -- 2.40.1