From patchwork Wed Apr 10 17:03:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13624842 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1803017B51F; Wed, 10 Apr 2024 17:03:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712768605; cv=none; b=X3F6ro1GR7tJQaXgs6he9ANJcd9rb+/S5xz9MGwunyNcaCJLHfQ7iUUH0c/WjJgCJQkQCDQ8KPsXsuHMAlKw0dGvYZn2oK2zN+pmONUapo2SyjvUlXwo3o/nnFX2f8rC3bbFs9bW10/BrHz5to1dvyiSajlAwTAaxgbY5UlpRbw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712768605; c=relaxed/simple; bh=zHNGk5M5w9BnN3lIY62vdcsFlgOeYRgg3MnWGX+WdB4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=UZrabfpSIytr68NUQyKfsqrYX1K6RB8awR1rWyjqlMEYj6ipsDlRY9SUShKDZnkuU+HRSjaTUboNN1MIm36AoVkZV86r0x4PmGTHC2JI6rIpsKu3OQ+nsRThk/7wNoYiFhTkVzpzk33txQI+nlXo97MdYB4N5Or9u5wtypTm718= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jE7Y9hg2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jE7Y9hg2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99E86C433C7; Wed, 10 Apr 2024 17:03:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712768605; bh=zHNGk5M5w9BnN3lIY62vdcsFlgOeYRgg3MnWGX+WdB4=; h=From:To:Cc:Subject:Date:From; b=jE7Y9hg27DjE+C2YQ1zX/HWJv2YS18bvwHHUIwyu0VFtrmH6HCZnvpL3jqLrSAlbh /LZOw0spv1Owkbvpl193OZVeckZtnlYLjSQe+O3vuX8Ew4PW0EEpp9Y88aAMuhOpbx zepb6onsaDi3VjzKF7Wf7iai8qk++6i0zuFCydFB8+FlpZouxoovapgkMt7nA75qTv EyxBnrByBoD72EgVpXSxxrNbfW/ZqCfsw3XHQtV8pQ9A0xBlTiUVnUITxOjcy/pSxu yNnJO7VwrS29qhpSJ7C36K3zMkF95vo+InKxOiicqKvBmRvsI+2Y6EqRwSA/CZgEs8 DPqBDVY7nG64w== From: Krzysztof Kozlowski To: Peter Ujfalusi , Vinod Koul , Lizhi Hou , Brian Xu , Raj Kumar Rampelli , Michal Simek , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] dmaengine: ti: k3-udma: fix module autoloading Date: Wed, 10 Apr 2024 19:03:16 +0200 Message-Id: <20240410170317.248715-1-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Krzysztof Kozlowski --- drivers/dma/ti/k3-udma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c index 6400d06588a2..d7259caa0200 100644 --- a/drivers/dma/ti/k3-udma.c +++ b/drivers/dma/ti/k3-udma.c @@ -4405,6 +4405,7 @@ static const struct of_device_id udma_of_match[] = { }, { /* Sentinel */ }, }; +MODULE_DEVICE_TABLE(of, udma_of_match); static struct udma_soc_data am654_soc_data = { .oes = { From patchwork Wed Apr 10 17:03:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13624843 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B483B17F38B; Wed, 10 Apr 2024 17:03:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712768609; cv=none; b=bx3aKPd7Ul1j4h1Bz2/BeUFtdQeBE+DYpp7z1z0r3pHMloUmEK4alwdvdwJQWQQ39L1SK6iCwslZ4pt2DjiXNhpi3t7LzFkD/Bjbi78+QlshC17neHxB97ag6uJ9KFjD1vlyfxQnNuvj7MWt8qGOcP/R2RRyZyAMk/m/adkvytI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712768609; c=relaxed/simple; bh=FiRA/vXhDO0Yg70Ugqf0/Tw8tnULt1mP1tGOaO9ccD8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=bzJcTEPt05MrZQh4ZHyzK7B2pMCigqW1WvAdHA8LzeycPujSAKRhvtg+u1vyMimYevjguMz0DQbFWYgNyWZfubGMxaqFnXwJhtM4rtoQGFZW3vj5dAXC2pFJ0HRDpPGoWjxdcdqOERDdyEuxL+i6n5vyxDOT05tAODiC9zN+6OU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tq+SPgKM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tq+SPgKM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CE4EC433C7; Wed, 10 Apr 2024 17:03:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712768609; bh=FiRA/vXhDO0Yg70Ugqf0/Tw8tnULt1mP1tGOaO9ccD8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tq+SPgKMT/Zk1F6cnminApHrZYG6gcr/DCYJILj7bCiqELE5ymIbKPSAJZWy0UE+Z Y8N9DbO0vSuCncTBlg2jCBe3m1BLM0gqom0fhDLsEkbcGZeRZJ1ZF1kt2tkhNdsEku SllCJaSXyv4DMEYoFdcZCsxcuN62pFYTdgYEZ04sYGB2a4F+SOWjWQVDBeG23T+7GP AN9ToNJFFVR2NMzrg/Q/4lEUNrQjEp8Y9P744BO5PEs0PdNHm07pbbZ2V//OqWg6Yv dnOl1EHW+YD/BILXZsrX63kbwycDgVAuXXIg4zQD0l57Q52O2P5iEnHqVv5b87EW+x rpeSsYrcSbgVQ== From: Krzysztof Kozlowski To: Peter Ujfalusi , Vinod Koul , Lizhi Hou , Brian Xu , Raj Kumar Rampelli , Michal Simek , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] dmaengine: xilinx: xdma: fix module autoloading Date: Wed, 10 Apr 2024 19:03:17 +0200 Message-Id: <20240410170317.248715-2-krzk@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240410170317.248715-1-krzk@kernel.org> References: <20240410170317.248715-1-krzk@kernel.org> Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add MODULE_DEVICE_TABLE(), so the module could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Krzysztof Kozlowski --- drivers/dma/xilinx/xdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/xilinx/xdma.c b/drivers/dma/xilinx/xdma.c index 170017ff2aad..36e3f84a31fc 100644 --- a/drivers/dma/xilinx/xdma.c +++ b/drivers/dma/xilinx/xdma.c @@ -1295,6 +1295,7 @@ static const struct platform_device_id xdma_id_table[] = { { "xdma", 0}, { }, }; +MODULE_DEVICE_TABLE(platform, xdma_id_table); static struct platform_driver xdma_driver = { .driver = {