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,