[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <63efd8d1-e294-42f0-8b0f-ec0ceb793772@huawei.com>
Date: Mon, 19 Aug 2024 20:21:22 +0800
From: "liaochen (A)" <liaochen4@...wei.com>
To: <linux-crypto@...r.kernel.org>
CC: <linux-kernel@...r.kernel.org>, <declan.murphy@...el.com>,
<herbert@...dor.apana.org.au>, <davem@...emloft.net>
Subject: Re: [PATCH -next] crypto: keembay - fix module autoloading
On 2024/8/14 10:44, 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>
> ---
> drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c b/drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
> index c2dfca73fe4e..e54c79890d44 100644
> --- a/drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
> +++ b/drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c
> @@ -1150,6 +1150,7 @@ static const struct of_device_id kmb_ocs_hcu_of_match[] = {
> },
> {}
> };
> +MODULE_DEVICE_TABLE(of, kmb_ocs_hcu_of_match);
>
> static void kmb_ocs_hcu_remove(struct platform_device *pdev)
> {
Gentle ping
Thanks,
Chen
Powered by blists - more mailing lists