From nobody Thu Oct 9 02:19:10 2025 Received: from fllvem-ot03.ext.ti.com (fllvem-ot03.ext.ti.com [198.47.19.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0970A1DED4A; Mon, 23 Jun 2025 05:38:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.245 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750657114; cv=none; b=H5VD2c+qCWoE81SV0RP4tvW8+pKmeywbvkOjnfHOClhWwycyDqHpoVnArhV4jhprOUlC6ihaWdputgVX8jPOJLrUifQRDtClmyFvKiB4Z3hjViOB+GRjJ0XZbSgs6/izqGXPG6pRlJWs4W9yvZV26VNzgJO0ETSxeYBxsj1PyF0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750657114; c=relaxed/simple; bh=Vd382s39W8WsduLZrqk35Q8WALfw9aZweAQjrxi99rk=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WRDB6bwlGR8t0/Ur8AMEl+8UCN3xs6SAmjabgBtGGT4ogADTYZCY4Z5jhRaT1iNAkBlOWE5+G1ld0lkFV4pnwducPu0SYSIMsuQCGfqWRKKODB/ndqUqadZbvRxGCmjZAS+I7KHlumEJDT1WIdzg2F4l9AQdwa9sXg5Ig7qm4jY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=XbH09Oe4; arc=none smtp.client-ip=198.47.19.245 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="XbH09Oe4" Received: from lelvem-sh01.itg.ti.com ([10.180.77.71]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTP id 55N5cRE01167770; Mon, 23 Jun 2025 00:38:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1750657107; bh=t9tLkaSM/eFSPZpvALa0MN8rz819MMYZ5lXL3zg4ktU=; h=From:To:Subject:Date:In-Reply-To:References; b=XbH09Oe4ZJI3uzGqX3sI3pjlMlpTZHj3EocW5QDQdBC+Gh0Yk1tsKhHtSih7gvcHs gVKGWD8omLujivgjBGU1YSE8DCRlcs/2JGi4uee+0zqc/tbbR5mfmlSShdz1CQ1jHv WCdUDhqea22U2ptbimnB0Kp3QgYw5BWyDSG1e07E= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelvem-sh01.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 55N5cRiH184377 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Mon, 23 Jun 2025 00:38:27 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Mon, 23 Jun 2025 00:38:27 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55 via Frontend Transport; Mon, 23 Jun 2025 00:38:27 -0500 Received: from uda0498651.dhcp.ti.com (uda0498651.dhcp.ti.com [172.24.227.7]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 55N5bSqZ3428603; Mon, 23 Jun 2025 00:38:22 -0500 From: Sai Sree Kartheek Adivi To: Peter Ujfalusi , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Santosh Shilimkar , Sai Sree Kartheek Adivi , , , , , , , , , Subject: [PATCH v3 10/17] dmaengine: ti: k3-udma: move inclusion of k3-udma-private.c to k3-udma-common.c Date: Mon, 23 Jun 2025 11:07:09 +0530 Message-ID: <20250623053716.1493974-11-s-adivi@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250623053716.1493974-1-s-adivi@ti.com> References: <20250623053716.1493974-1-s-adivi@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea Content-Type: text/plain; charset="utf-8" Relocate the #include directive for k3-udma-private.c to k3-udma-common.c so that the code can be shared between other UDMA variants (like k3-udma-v2). This change improves modularity and prepares for variant-specific implementations. No functional changes intended. Signed-off-by: Sai Sree Kartheek Adivi --- drivers/dma/ti/k3-udma-common.c | 3 +++ drivers/dma/ti/k3-udma.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/dma/ti/k3-udma-common.c b/drivers/dma/ti/k3-udma-commo= n.c index 05ded8479923c..59930af846845 100644 --- a/drivers/dma/ti/k3-udma-common.c +++ b/drivers/dma/ti/k3-udma-common.c @@ -2487,3 +2487,6 @@ int setup_resources(struct udma_dev *ud) =20 return ch_count; } + +/* Private interfaces to UDMA */ +#include "k3-udma-private.c" diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c index 32a56e61fb833..dc081dbfe76a7 100644 --- a/drivers/dma/ti/k3-udma.c +++ b/drivers/dma/ti/k3-udma.c @@ -2854,5 +2854,3 @@ module_platform_driver(udma_driver); MODULE_DESCRIPTION("Texas Instruments UDMA support"); MODULE_LICENSE("GPL v2"); =20 -/* Private interfaces to UDMA */ -#include "k3-udma-private.c" --=20 2.34.1