]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dmaengine: Move MODULE_DEVICE_TABLE next to the table itself
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Thu, 14 May 2026 06:05:26 +0000 (08:05 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 19 May 2026 17:24:14 +0000 (22:54 +0530)
commit362ee0c0dc522bcf585bde59ceba2038ec583b7d
treef279b03d0f6721dd107d25148068cc88672be8a0
parent33a6c96b31035fccf6968e2d35e3b727cd42580b
dmaengine: Move MODULE_DEVICE_TABLE next to the table itself

By convention MODULE_DEVICE_TABLE() immediately follows the ID table it
exports, because this is easier to read and verify.  It also makes more
sense since #ifdef for ACPI or OF could hide both of them.

Most of the drivers already have this correctly placed, so adjust
the missing ones.  No functional impact.

Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260514060525.9253-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/hisi_dma.c
drivers/dma/pch_dma.c