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