From patchwork Thu Aug 22 13:01:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liao Chen X-Patchwork-Id: 13773358 Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) (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 B25A91C9ED2; Thu, 22 Aug 2024 13:09:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.190 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724332164; cv=none; b=GcYG0wybnFUJu+c3t0txHPQIJJFwN9RzQBcp4+L1z34d2ajN38cKpbK3GX7wZwdfncV3xUN1QKk/P2LTKEFt3fv3+3aEnrox3JbG5LYEICzFWoI7Exibq9Odm2I6UK4Ev3Pj/bBbW+4Voi+Jfdb+Mo6ECAGpy7+R7sO/3CzQFP0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724332164; c=relaxed/simple; bh=AGd/cLuQb4A5E0Wiu65Gk84qJp4FBAjx4CHw2Lnfb8k=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=R+hkdf1kV59PkexmvL4myhPRbYpL3T9nkKsE+KjdEWoE5+5qab88FjvIYOWCBLEdfrkN/1Dt1m7oSku6crCobU+Pg5eQ7eiO57UmI3KuO9Ln00mFRxJTDue6jg8gvi/bMlzdPaWtoatuCD9Ug60kyTFMHU2JaIA4qhW8kgDWb08= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.190 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.17]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4WqNhM0HBfz20mJ1; Thu, 22 Aug 2024 21:04:35 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id E110C1A0188; Thu, 22 Aug 2024 21:09:17 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 22 Aug 2024 21:09:17 +0800 From: Liao Chen To: CC: , , , , , , Subject: [PATCH -next 1/4] usb: phy: phy-gpio-vbus-usb: fix module autoloading Date: Thu, 22 Aug 2024 13:01:10 +0000 Message-ID: <20240822130113.164644-2-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240822130113.164644-1-liaochen4@huawei.com> References: <20240822130113.164644-1-liaochen4@huawei.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500020.china.huawei.com (7.185.36.49) Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen --- drivers/usb/phy/phy-gpio-vbus-usb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/phy/phy-gpio-vbus-usb.c b/drivers/usb/phy/phy-gpio-vbus-usb.c index 817c242a76ca..5428b2b67de1 100644 --- a/drivers/usb/phy/phy-gpio-vbus-usb.c +++ b/drivers/usb/phy/phy-gpio-vbus-usb.c @@ -374,6 +374,7 @@ static const struct of_device_id gpio_vbus_of_match[] = { }, {}, }; +MODULE_DEVICE_TABLE(of, gpio_vbus_of_match); static struct platform_driver gpio_vbus_driver = { .driver = { From patchwork Thu Aug 22 13:01:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liao Chen X-Patchwork-Id: 13773356 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (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 1F8AC1C9DDE; Thu, 22 Aug 2024 13:09:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724332163; cv=none; b=gdeSD/zZb0oHzVIY+pKgrZRYd4CLSzPoLHW19tg4/SE/bXki4qMT0i/sCnHNzJrldz++7+B03wh9Sdc6oGmqVSX070/vXl3jYiBQJw7j8UMEskTlYAnMhhl39YJSYpl+6ZJ0XMZCtxLQ//1dN+asRXLHTiz0bE0+we8Ek9snxag= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724332163; c=relaxed/simple; bh=WY8yCk7jyloSUPJCJcz2c8B4mqrFr0PJkfactdGuonc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YnTLrfWRcuAglJZRLr3BFUZ/IVXJbIdGtSeo0ujkbOIUVGeCQ6BZMlGXM1fXWZg31LCVlQBGTLUfQ9fQvdMJosKc17ncrOhYo6mqoyvebM5OEyKa+mANOO3FBV2kos5RY2iK1xL6B+BNi9RBzY83K3guiNUN/Btb6G3eFB5j+04= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4WqNn12kjGzyQPt; Thu, 22 Aug 2024 21:08:37 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id 162471800D3; Thu, 22 Aug 2024 21:09:18 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 22 Aug 2024 21:09:17 +0800 From: Liao Chen To: CC: , , , , , , Subject: [PATCH -next 2/4] usb: misc: brcmstb-usb-pinmap: fix module autoloading Date: Thu, 22 Aug 2024 13:01:11 +0000 Message-ID: <20240822130113.164644-3-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240822130113.164644-1-liaochen4@huawei.com> References: <20240822130113.164644-1-liaochen4@huawei.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500020.china.huawei.com (7.185.36.49) Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Acked-by: Florian Fainelli --- drivers/usb/misc/brcmstb-usb-pinmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/misc/brcmstb-usb-pinmap.c b/drivers/usb/misc/brcmstb-usb-pinmap.c index 2b2019c19cde..1ce885e4184c 100644 --- a/drivers/usb/misc/brcmstb-usb-pinmap.c +++ b/drivers/usb/misc/brcmstb-usb-pinmap.c @@ -335,6 +335,7 @@ static const struct of_device_id brcmstb_usb_pinmap_of_match[] = { { .compatible = "brcm,usb-pinmap" }, { }, }; +MODULE_DEVICE_TABLE(of, brcmstb_usb_pinmap_of_match); static struct platform_driver brcmstb_usb_pinmap_driver = { .driver = { From patchwork Thu Aug 22 13:01:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liao Chen X-Patchwork-Id: 13773357 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) (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 A912B1C9DCF; Thu, 22 Aug 2024 13:09:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.189 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724332163; cv=none; b=eC2jIficPiTXcRYmt11RZ3/Rgk4wdyHqY17tc/qL8PPhC44puBYveJSmukf+RguB31c0u2brhSMJRv1bOD2m8A66GlGn/d0jcku8bTHni9Km3ZVXoSZIoz3R2EwfQ3POuLGIv6inczwjfLWj+p4uw5uBJ9fEM9dIOJqtyikQljI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724332163; c=relaxed/simple; bh=fH3w72nY5fA9CMZhrk/oeUUB1Q6HiXo45T87f9KunIE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=C5oms+HMllVGpSJ3VuICLZhhzuTgs3snb/gk9TLWkh+miVE54jaW8RVVm5vC+GMR8KUQEIzCtD6daHJx+McSdrttD9Mt+fcNS88C+e5XJzhA0p38647iS4UhzXSw6FiA3YXVhuG7uO15v/rzz2D0Pgi86tH0s0fWmwmuPVSg1bA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.162.254]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4WqNhL6gb8z69Nl; Thu, 22 Aug 2024 21:04:34 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id 3E09F1800FF; Thu, 22 Aug 2024 21:09:18 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 22 Aug 2024 21:09:18 +0800 From: Liao Chen To: CC: , , , , , , Subject: [PATCH -next 3/4] usb: typec: fix module autoloading Date: Thu, 22 Aug 2024 13:01:12 +0000 Message-ID: <20240822130113.164644-4-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240822130113.164644-1-liaochen4@huawei.com> References: <20240822130113.164644-1-liaochen4@huawei.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500020.china.huawei.com (7.185.36.49) Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Acked-by: Heikki Krogerus --- drivers/usb/typec/anx7411.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/typec/anx7411.c b/drivers/usb/typec/anx7411.c index 5a5bf3532ad7..33ff301b918f 100644 --- a/drivers/usb/typec/anx7411.c +++ b/drivers/usb/typec/anx7411.c @@ -1576,6 +1576,7 @@ static const struct of_device_id anx_match_table[] = { {.compatible = "analogix,anx7411",}, {}, }; +MODULE_DEVICE_TABLE(of, anx_match_table); static struct i2c_driver anx7411_driver = { .driver = { From patchwork Thu Aug 22 13:01:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liao Chen X-Patchwork-Id: 13773355 Received: from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35]) (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 2D8D21C9454; Thu, 22 Aug 2024 13:09:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.35 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724332162; cv=none; b=h5UaDrzrVldo9Vo4Ma7zxtsiTC9XNZUkcvozTYqZ7pOqJ0nQFy0X2g5y5t2WJei62pGOjI0rh65Z5b/qGgqrs/YVAKuNqti/cvpo+W5guHjUwT952f9QZ9NOAX/xucdGgcyYagVKG9nviwuNF2M+ZUbTaCk6zrBbk1sSVp7crRM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724332162; c=relaxed/simple; bh=lVg1GtkG/UXPw6eLBm3vM/+bHlQwcWAnCvNdakzy1nE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pdOLeLD2M7C/+M3BnEN//xJJfViKpHVZGJsqAcncceVDBpkHTqX6IFgUBAFNxyiBODHy+iVjpcu1ETX5S7zXnUX9Y1Jxf3WrdhBTg7yJnecduE4AF4EfcZJVI7inOXwlDj0LyjuM/5Z3w0bd7jRIQmRIovVH+f+pf6Z92mWqYkg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.35 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.162.112]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4WqNnk0vTNz1S8c1; Thu, 22 Aug 2024 21:09:14 +0800 (CST) Received: from dggpemm500020.china.huawei.com (unknown [7.185.36.49]) by mail.maildlp.com (Postfix) with ESMTPS id 6D05F1400DD; Thu, 22 Aug 2024 21:09:18 +0800 (CST) Received: from huawei.com (10.67.174.77) by dggpemm500020.china.huawei.com (7.185.36.49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Thu, 22 Aug 2024 21:09:18 +0800 From: Liao Chen To: CC: , , , , , , Subject: [PATCH -next 4/4] usb: ehci-brcm: fix module autoloading Date: Thu, 22 Aug 2024 13:01:13 +0000 Message-ID: <20240822130113.164644-5-liaochen4@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240822130113.164644-1-liaochen4@huawei.com> References: <20240822130113.164644-1-liaochen4@huawei.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500020.china.huawei.com (7.185.36.49) Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Signed-off-by: Liao Chen Acked-by: Florian Fainelli --- drivers/usb/host/ehci-brcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/ehci-brcm.c b/drivers/usb/host/ehci-brcm.c index 77e42c739c58..68cad0620f1a 100644 --- a/drivers/usb/host/ehci-brcm.c +++ b/drivers/usb/host/ehci-brcm.c @@ -246,6 +246,7 @@ static const struct of_device_id brcm_ehci_of_match[] = { { .compatible = "brcm,bcm7445-ehci", }, {} }; +MODULE_DEVICE_TABLE(of, brcm_ehci_of_match); static struct platform_driver ehci_brcm_driver = { .probe = ehci_brcm_probe,