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 = {