[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZsxCrnp8Cwx+nNjg@kuha.fi.intel.com>
Date: Mon, 26 Aug 2024 11:54:06 +0300
From: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
To: Liao Chen <liaochen4@...wei.com>
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
gregkh@...uxfoundation.org, alcooperx@...il.com,
bcm-kernel-feedback-list@...adcom.com, stern@...land.harvard.edu,
justin.chen@...adcom.com
Subject: Re: [PATCH -next 3/4] usb: typec: fix module autoloading
On Thu, Aug 22, 2024 at 01:01:12PM +0000, Liao Chen wrote:
> Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
> based on the alias from of_device_id table.
>
> Signed-off-by: Liao Chen <liaochen4@...wei.com>
Acked-by: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
> ---
> 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 = {
> --
> 2.34.1
--
heikki
Powered by blists - more mailing lists