From patchwork Mon Aug 19 11:38:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liuyuntao (F)" X-Patchwork-Id: 13768237 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 42C8EC3DA4A for ; Mon, 19 Aug 2024 11:48:33 +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=NLH0B53lrCWLoOCLyyaHAKGXFloOvDI7qw3Us2k4Qhc=; b=pWsg7WXM3mpPB83Y/HKHlKitqd /sUTyXB24yD1DctbOxdXNyY3v8eSKhM93BAEixwqt+/vWsLzaJZCVXYutOOeU00Yss3ZbXgoNeYsl 6llDfuBWICVkWDhwVtXAYvTkja2hHCaYimXP1fLECReAjgjAQIOcNJG6R8Wlit50YBVh1gSt7RQld VXT9dZOhucTmLh+L4mW5iVgzPQhZpE/sg7vEUnX82DOiCaSeUQJkA4ik5SSLrQof5wXdu3zsikIT7 Pwdece8BUPF4Reg17YWYqaluXK15Z8efux3uz2rlSDa1etaeUQeC/ROkUVZ+N0o2Q912OcMJUg1gX fZmiw/5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0s4-00000001HMm-2qjC; Mon, 19 Aug 2024 11:48:24 +0000 Received: from szxga02-in.huawei.com ([45.249.212.188]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0qu-00000001GrC-1OxQ for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 11:47:14 +0000 Received: from mail.maildlp.com (unknown [172.19.162.254]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4WnW3t6T2bzfbZy; Mon, 19 Aug 2024 19:44:58 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id 80512180101; Mon, 19 Aug 2024 19:46:58 +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:46:57 +0800 From: Yuntao Liu To: , , , , , , Subject: [PATCH -next 1/9] usb: ehci-mv: fix module autoloading Date: Mon, 19 Aug 2024 11:38:47 +0000 Message-ID: <20240819113855.787149-2-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_044712_908751_A9A8FCD6 X-CRM114-Status: UNSURE ( 8.35 ) 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/usb/host/ehci-mv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ehci-mv.c b/drivers/usb/host/ehci-mv.c index 2f1fc7eb8b72..33d925316eec 100644 --- a/drivers/usb/host/ehci-mv.c +++ b/drivers/usb/host/ehci-mv.c @@ -260,6 +260,7 @@ static const struct platform_device_id ehci_id_table[] = { {"pxa-sph", 0}, {}, }; +MODULE_DEVICE_TABLE(platform, ehci_id_table); static void mv_ehci_shutdown(struct platform_device *pdev) { From patchwork Mon Aug 19 11:38:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liuyuntao (F)" X-Patchwork-Id: 13768238 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 8C3C6C3DA4A for ; Mon, 19 Aug 2024 11:49:16 +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=XMs11nSmCyeg8hfOZcsDXYvHfiKs9RXeVlkDPbv32mc=; b=DXBXyeCWREKoqGgpqamq31FhcQ q8AEfGVzmSSaFCNfRrOT9UMOCIBuI0awykqCmQ0pc4y08UUh5eIMHuFnwAk/JrILUgqtOet0Bc7ub 8XwBjJ8dcT+p8VB6zSl973FI5DcSf8vDnfoLTFlDjANKsxXobnkwEEX21GYPXtxXbP6nvA11BLuXy 7KgvdbnCLMtGMHauUWjQn2kxTFuTuyi80iL+9iG6Rx3JPM6GCBMfX3269UlXu5i8vEk3WjSY8QXVm uw291tba5sbAxYAJErvvdsTdvgH2YYs6fmOI55nH0mNTZshWs1c88wYxuCm0lUPTePssXiKDAfHfj YAYG9OpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0si-00000001HY6-2GPC; Mon, 19 Aug 2024 11:49:04 +0000 Received: from szxga02-in.huawei.com ([45.249.212.188]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0qv-00000001Grw-1Wmf for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 11:47:18 +0000 Received: from mail.maildlp.com (unknown [172.19.163.174]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4WnW4c2XLGzpSt9; Mon, 19 Aug 2024 19:45:36 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id B71A31400CD; Mon, 19 Aug 2024 19:47:04 +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:03 +0800 From: Yuntao Liu To: , , , , , , Subject: [PATCH -next 2/9] soc: pxa: ssp: fix module autoloading Date: Mon, 19 Aug 2024 11:38:48 +0000 Message-ID: <20240819113855.787149-3-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_044713_766964_A69B09B1 X-CRM114-Status: UNSURE ( 9.05 ) 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/soc/pxa/ssp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/pxa/ssp.c b/drivers/soc/pxa/ssp.c index 854d32e04558..6ac3f376d030 100644 --- a/drivers/soc/pxa/ssp.c +++ b/drivers/soc/pxa/ssp.c @@ -194,6 +194,7 @@ static const struct platform_device_id ssp_id_table[] = { { "pxa910-ssp", PXA910_SSP }, { }, }; +MODULE_DEVICE_TABLE(platform, ssp_id_table); static struct platform_driver pxa_ssp_driver = { .probe = pxa_ssp_probe, From patchwork Mon Aug 19 11:38:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liuyuntao (F)" X-Patchwork-Id: 13768241 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 53C2DC3DA4A for ; Mon, 19 Aug 2024 11:51:14 +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=5TRZmSp4q3dDLqR6xhsFHbfhGbhBeaueCWeIzBlHLXk=; b=xXM6twXyrqnSTTLqlpqNIbmJHM n5T0gItAs9RC0oycxWeRBYNJkAF2ecZl9UA/e9bGUFy6HBztrCB3srNe/hM2eihAZkHpmDpGdiTVC orYwzpbh7yRYefN6P7Qb6oMIRCTvV3uvGDLk5ZG/3W1yDuIyWMCSrOCsL3T6m8s2iHLTUp5w5NfAf RdLDGGqyUC+AhCSTVoufB9QU+lyh1g8e4y7QXKu4+PGtHS6842pxGH7O2ZVAVWAVznggaPDCNjk30 PZvu6WEvAQBPkNBY3hXt3sZxi9ESWXwAKze3m65d2qb0p4gWuxhtMzRs5TtX5a+ilC+eZVJb7QSoZ g5jZlDMg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0ue-00000001I5a-2oPf; Mon, 19 Aug 2024 11:51:04 +0000 Received: from szxga04-in.huawei.com ([45.249.212.190]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0qx-00000001Gt2-1KXU for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 11:47:22 +0000 Received: from mail.maildlp.com (unknown [172.19.88.163]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4WnW0c1MBdz2Cn2S; Mon, 19 Aug 2024 19:42:08 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id A0AE918001B; Mon, 19 Aug 2024 19:47:06 +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:05 +0800 From: Yuntao Liu To: , , , , , , Subject: [PATCH -next 3/9] misc: atmel-ssc: fix module autoloading Date: Mon, 19 Aug 2024 11:38:49 +0000 Message-ID: <20240819113855.787149-4-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_044715_750849_AF9DC78A X-CRM114-Status: UNSURE ( 8.53 ) 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/misc/atmel-ssc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c index 6eac0f335915..e7a87183bfbb 100644 --- a/drivers/misc/atmel-ssc.c +++ b/drivers/misc/atmel-ssc.c @@ -110,6 +110,7 @@ static const struct platform_device_id atmel_ssc_devtypes[] = { /* sentinel */ } }; +MODULE_DEVICE_TABLE(platform, atmel_ssc_devtypes); #ifdef CONFIG_OF static const struct of_device_id atmel_ssc_dt_ids[] = { From patchwork Mon Aug 19 11:38:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liuyuntao (F)" X-Patchwork-Id: 13768242 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 38C46C5320E for ; Mon, 19 Aug 2024 11:51:57 +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=qpZmXGFe5yvG/iCseb9n007CrkNL1F4/5C0IWYDHhL4=; b=pXIpZ52gRctP2k+SsaoiPohY/Y UwBtA616Ak2rxRBdZe1eT+BBQ4eaZDbaSa4iyhh1JCXKHRXkNJfQ54Qfn2N1I/6BM3th3S73290jj nS9oIMy/4A0uywtTdLdDXGqBphqOAH+bpWerJoq6Ea5A1tNx37TTK5QMiSytsnb1PGZV6ehA27b9n T66zutkonnJerIavixgvI2x2m7RU0c29W8/6kXOTdOjMoOctGGXSoIKWkDGDg0qzTo/Vu2xzV3TNh 44E3/AzBVg7LrEvaWbMU0gQocSpo4BOjHwArsy30vb1NRGgoLGhAi411baRzD87pd43dWXAnGFlUE wL6WNWgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0vJ-00000001IJC-2G3a; Mon, 19 Aug 2024 11:51:45 +0000 Received: from szxga06-in.huawei.com ([45.249.212.32]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0qy-00000001GtH-2p3c for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 11:47:22 +0000 Received: from mail.maildlp.com (unknown [172.19.163.44]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4WnW4B5NnPz1xvTY; Mon, 19 Aug 2024 19:45:14 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id 611201401F2; Mon, 19 Aug 2024 19:47:08 +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:07 +0800 From: Yuntao Liu To: , , , , , , Subject: [PATCH -next 4/9] i2c: at91: fix module autoloading Date: Mon, 19 Aug 2024 11:38:50 +0000 Message-ID: <20240819113855.787149-5-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_044717_214769_2BDFB7CC X-CRM114-Status: UNSURE ( 8.74 ) 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/i2c/busses/i2c-at91-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-at91-core.c b/drivers/i2c/busses/i2c-at91-core.c index dc52b3530725..bc3636f90712 100644 --- a/drivers/i2c/busses/i2c-at91-core.c +++ b/drivers/i2c/busses/i2c-at91-core.c @@ -107,6 +107,7 @@ static const struct platform_device_id at91_twi_devtypes[] = { /* sentinel */ } }; +MODULE_DEVICE_TABLE(platform, at91_twi_devtypes); #if defined(CONFIG_OF) static struct at91_twi_pdata at91sam9x5_config = { From patchwork Mon Aug 19 11:38:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liuyuntao (F)" X-Patchwork-Id: 13768239 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 A47EEC5321E for ; Mon, 19 Aug 2024 11:49:54 +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=5ahiaHPlFJs85aMsfH/ButI1S5AT0DgvThrR6OgzvrE=; b=HILE4xq2TB++SJ21j51Yv6OrfT K+UX3HJ5k/hH5O14+dMvf24UxviRGkHH6jDEsL2Q6SZex/XSrOhcfjCawPO8JPhA33zWhKxSrm/PC bxjTBqqLtKAzk3He7eq18x4tHUv4Dh5R1rfxth19HwQvuL4VnrpGBCZT4epqDFnOGXb2Q4j7B698K 5+Mkb8nEMEO007FbJR+VsIZdBPYxYCp6EkUy55NffmNbfqN7wjrnXLLn7VYjqY3JuzhQo8Z7+7leW Wgj9Kk/tskX5y1qwXUrUf5wRxO7C04C4xvLWMtVeS0PsMTsRIBJ5lLRS4TvTkdLWz1VD3Chyi+9ik ckgow28w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0tM-00000001Hjb-2wrd; Mon, 19 Aug 2024 11:49:44 +0000 Received: from szxga07-in.huawei.com ([45.249.212.35]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0qx-00000001GuQ-1Lsy for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 11:47:20 +0000 Received: from mail.maildlp.com (unknown [172.19.88.234]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4WnW0g1TZ3z1S8DR; Mon, 19 Aug 2024 19:42:11 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id 028DF14022E; Mon, 19 Aug 2024 19:47:10 +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:08 +0800 From: Yuntao Liu To: , , , , , , Subject: [PATCH -next 5/9] mpc85xx_edac: fix module autoloading Date: Mon, 19 Aug 2024 11:38:51 +0000 Message-ID: <20240819113855.787149-6-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_044715_751998_25B79919 X-CRM114-Status: UNSURE ( 8.82 ) 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 Acked-by: Arnd Bergmann --- drivers/edac/mpc85xx_edac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c index d0266cbcbeda..c8b94aab9819 100644 --- a/drivers/edac/mpc85xx_edac.c +++ b/drivers/edac/mpc85xx_edac.c @@ -320,6 +320,7 @@ static const struct platform_device_id mpc85xx_pci_err_match[] = { }, {} }; +MODULE_DEVICE_TABLE(platform, mpc85xx_pci_err_match); static struct platform_driver mpc85xx_pci_err_driver = { .probe = mpc85xx_pci_err_probe, 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 = { From patchwork Mon Aug 19 11:38:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liuyuntao (F)" X-Patchwork-Id: 13768251 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 6DE48C5320E for ; Mon, 19 Aug 2024 11:57:22 +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=n7Lz37X5stwKjFTAM/KnF7QJcqWX7fy/7ayh+g+/eGs=; b=PQFMAyP8lg8r7OgKM1rh9d1XXW AthRazqpzoT7E1DI91g0TlDjtqipAIjjGF2No3hdHGikfU73qemmc3KhS5PeKF3Ce3G3DuuQphZLF IIIuO1qgcZ8YhsKbt4ywWJPjqtE000cPKwPdacmat9i3l9xqg3v+RsS/OEsXtZb+wHRjTc/zOyDuQ HKhXn5YwHuKBirOlVrY4XU0BAu0ZBehNxJEEAU433+mjK3HckV3omZl9noDcH/1/zZxrXNNrtkTnJ zxQM70ivjuKn5EQ3cp889z0DAA2ovdUcD+XrPVrniWaYUkECxAqlEwK0IQrSqsIxN80rkdjSer5zG KF26ujOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg10X-00000001Jh9-3LJY; Mon, 19 Aug 2024 11:57:09 +0000 Received: from szxga04-in.huawei.com ([45.249.212.190]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0qz-00000001Gvi-3n9O for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 11:47:25 +0000 Received: from mail.maildlp.com (unknown [172.19.88.234]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4WnW0k46rRz2Cn33; Mon, 19 Aug 2024 19:42:14 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id 0FA2E14022E; Mon, 19 Aug 2024 19:47:13 +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:11 +0800 From: Yuntao Liu To: , , , , , , Subject: [PATCH -next 7/9] dmaengine: mmp_pdma: fix module autoloading Date: Mon, 19 Aug 2024 11:38:53 +0000 Message-ID: <20240819113855.787149-8-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_044718_691804_AF168CCB 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/mmp_pdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index 136fcaeff8dd..05d051ecf833 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c @@ -1129,6 +1129,7 @@ static const struct platform_device_id mmp_pdma_id_table[] = { { "mmp-pdma", }, { }, }; +MODULE_DEVICE_TABLE(platform, mmp_pdma_id_table); static struct platform_driver mmp_pdma_driver = { .driver = { From patchwork Mon Aug 19 11:38:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liuyuntao (F)" X-Patchwork-Id: 13768245 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 28420C5320E for ; Mon, 19 Aug 2024 11:52:34 +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=+T+gDs7zIeE97rG25SuGbMK3Sfn+XvQzbGRUvb4CpJQ=; b=ScmwoqtF9K0yHoqkoix44SDz16 OID38tSopUbIaf9QKaedlae66IsxyxzajAHBNGK85+9aCDgBah0PpsRFKJrEBXPT5xTKb7YHP/LH+ QTJSALSTD9kxXnStlHN9kOvKT7el1KUUlBryKaShJXhhb4C0OQtuMcfSdasRI3obXjDcBVWcbgp4v 1Cb9ggAvQDuho5L6NNx20rZyjZANW6KOvAQDqMFKkRlq90UW++KddZgZI5aOnOgx+TEcqtcnxcKmh hup+yvlAIf511sMfyGrnvsU///h3BVR/PwIX9q+oFhHxv1MteGvifAYrqqBTp49FD7B61MpCBZwH5 CMbRqSxQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0vw-00000001IOJ-27cb; Mon, 19 Aug 2024 11:52:24 +0000 Received: from szxga02-in.huawei.com ([45.249.212.188]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0r0-00000001Gww-0g6G for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 11:47:25 +0000 Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4WnW4p277qzpTWN; Mon, 19 Aug 2024 19:45:46 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id A90761800A5; Mon, 19 Aug 2024 19:47:14 +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:13 +0800 From: Yuntao Liu To: , , , , , , Subject: [PATCH -next 8/9] dmaengine: at_hdmac: fix module autoloading Date: Mon, 19 Aug 2024 11:38:54 +0000 Message-ID: <20240819113855.787149-9-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_044718_696365_34CB3B43 X-CRM114-Status: UNSURE ( 8.72 ) 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/at_hdmac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index 40052d1bd0b5..614c60b16ee5 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c @@ -1904,6 +1904,7 @@ static const struct platform_device_id atdma_devtypes[] = { /* sentinel */ } }; +MODULE_DEVICE_TABLE(platform, atdma_devtypes); static inline const struct at_dma_platform_data * __init at_dma_get_driver_data( struct platform_device *pdev) From patchwork Mon Aug 19 11:38:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "liuyuntao (F)" X-Patchwork-Id: 13768246 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 BD9C8C5320E for ; Mon, 19 Aug 2024 11:53:54 +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=r5EPkIN5Y8Sw5QPvPL47DJUylhHfCAr5sG0h0nsvk2w=; b=nO+Y71GGkyVAdm6ocG3QM/dtuG lYvjtc/gk/uQQ3MV9kBBZz0Rbf2v2jUW1+2sOkzfhPFS8r6E7sRIKnJxRElovDhwennpYWxsUWnVA mQLucIXJbxxWDvdIl2UC4n7qAvDg1sVOBXU3AOWSw3tfPhzMO6IuAquKqybpQL4Z2SfgSZdCNIQk5 Z9ipNqhzHLSFVMvuHMa0EtkUuF+VsvZr92EuJgAJK/eZnJ3CdWLrZU+7zq1MNjKNpclfgnblO+C2F Fx1n002xmIzRJt2em41nFYasJuRpjYRdMs6K9FTTaVfKZy8yOEQ7j5NRu/3KYDfYe1yAVJmnSJ5A5 sEmxpUKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0xF-00000001Ijo-2Ubu; Mon, 19 Aug 2024 11:53:45 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0rJ-00000001H8l-1ojH for linux-arm-kernel@bombadil.infradead.org; Mon, 19 Aug 2024 11:47:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=r5EPkIN5Y8Sw5QPvPL47DJUylhHfCAr5sG0h0nsvk2w=; b=icE5iurjKF9qd4k2DJ1VLQm39s Py44jDxxeFr4k5fE4ZqL1W1Qyd9ihlIq/iwo5/a8Gzw22Lo02Hs8ZC0nJQdeR5JUoyxvb2QHO9yYt VEPnwvfi62gVA0Ohcj/r4u0/qfVF9UW7wE/vjyfH7/+U0yVuhatjdfVGSUiuOZIloGyO3zCiyzvzA /eRm3iRngO/J6PU9acdsxmRUweZLDfVBrdEZIPPnC1fs7YUiWKuiUxVT1Qsr+7k7S8yz1Ac0rk71D Ji0s/MKjA/t5MTme3Fp6AUa3pVq8w/F5mA+nK6dI30ACdvgn5SVs9MQxKzGMDmWHVqnnIB8s419lA CZ5eVxRA==; Received: from szxga04-in.huawei.com ([45.249.212.190]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg0rE-000000098P3-38YN for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 11:47:36 +0000 Received: from mail.maildlp.com (unknown [172.19.88.214]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4WnW0n6XCnz2Cmxf; Mon, 19 Aug 2024 19:42:17 +0800 (CST) Received: from kwepemg500010.china.huawei.com (unknown [7.202.181.71]) by mail.maildlp.com (Postfix) with ESMTPS id 61F561A016C; Mon, 19 Aug 2024 19:47:16 +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:15 +0800 From: Yuntao Liu To: , , , , , , Subject: [PATCH -next 9/9] ipmi: ipmi_ssif: fix module autoloading Date: Mon, 19 Aug 2024 11:38:55 +0000 Message-ID: <20240819113855.787149-10-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_124733_517297_A05BA857 X-CRM114-Status: UNSURE ( 9.06 ) 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/char/ipmi/ipmi_ssif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c index 96ad571d041a..e8e7b832c060 100644 --- a/drivers/char/ipmi/ipmi_ssif.c +++ b/drivers/char/ipmi/ipmi_ssif.c @@ -2085,6 +2085,7 @@ static const struct platform_device_id ssif_plat_ids[] = { { "dmi-ipmi-ssif", 0 }, { } }; +MODULE_DEVICE_TABLE(platform, ssif_plat_ids); static struct platform_driver ipmi_driver = { .driver = {