From patchwork Mon Aug 19 11:38:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liuyuntao (F)" X-Patchwork-Id: 13768240 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 12D37C3DA4A for ; Mon, 19 Aug 2024 11:50:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wE26j5LIu2JAsOuM/ys4W5kswPkX00tVpkFoIfUdf34=; b=gVJv06D1ytS/U1+tbdUN3dmS+R vBIoeEUnc1w4dmF9HtFvwgELnLnyco5L3H+QQZGrqQVx8ZaadEdQHVtviNwTA1ZwO8K/xKZ+iBR90 NpNHFCAmDKqnQn7sh6xtHWQqCtlutGvTzR5i5ZkAgOaXYp1UMDGz0SeyXPTCGKoMWt0vKwGbvMi74 F3wekpiK4zji79cvvuLaqSrWRHrRq8W4D/osSLZCXSlfeH5O58MUxy5hOX2Na6horENb8W6GJFazB u4OHGn/xbTGAfrM6yWUKOnuVTBtdxrwb6adj1Dm8Wa2u+4C/LQ/p6oOWKhZMuyl0Q5aD5fKRD2RKX Z4gOyCLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0u0-00000001Hvq-328h; Mon, 19 Aug 2024 11:50:24 +0000 Received: from szxga08-in.huawei.com ([45.249.212.255]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0qx-00000001GuY-2M8N for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 11:47:21 +0000 Received: from mail.maildlp.com (unknown [172.19.88.194]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4WnW5l1QVvz13Tr5; Mon, 19 Aug 2024 19:46:35 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id 8A0D7140159; Mon, 19 Aug 2024 19:47:11 +0800 (CST) Received: from huawei.com (10.67.174.76) by kwepemg500010.china.huawei.com (7.202.181.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 19 Aug 2024 19:47:10 +0800 From: Yuntao Liu To: , , , , , , Subject: [PATCH -next 6/9] dmaengine: pxa: fix module autoloading Date: Mon, 19 Aug 2024 11:38:52 +0000 Message-ID: <20240819113855.787149-7-liuyuntao12@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240819113855.787149-1-liuyuntao12@huawei.com> References: <20240819113855.787149-1-liuyuntao12@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.174.76] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemg500010.china.huawei.com (7.202.181.71) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240819_044716_626540_3A2128E9 X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alexandre.belloni@bootlin.com, liuyuntao12@huawei.com, claudiu.beznea@tuxon.dev, robert.jarzmik@free.fr, andriy.shevchenko@linux.intel.com, minyard@acm.org, ludovic.desroches@microchip.com, stern@rowland.harvard.edu, u.kleine-koenig@pengutronix.de, codrin.ciubotariu@microchip.com, duje.mihanovic@skole.hr, rric@kernel.org, andi.shyti@kernel.org, arnd@arndb.de, haojian.zhuang@gmail.com, tony.luck@intel.com, bp@alien8.de, mchehab@kernel.org, morbidrsa@gmail.com, gregkh@linuxfoundation.org, vkoul@kernel.org, broonie@kernel.org, james.morse@arm.com, daniel@zonque.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from platform_device_id table. Signed-off-by: Yuntao Liu --- drivers/dma/pxa_dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/pxa_dma.c b/drivers/dma/pxa_dma.c index 31f8da810c05..56785805e7a7 100644 --- a/drivers/dma/pxa_dma.c +++ b/drivers/dma/pxa_dma.c @@ -1434,6 +1434,7 @@ static const struct platform_device_id pxad_id_table[] = { { "pxa-dma", }, { }, }; +MODULE_DEVICE_TABLE(platform, pxad_id_table); static struct platform_driver pxad_driver = { .driver = {