mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] crypto: keembay - fix module autoloading
@ 2024-08-14  2:44 Liao Chen
  2024-08-19 12:21 ` liaochen (A)
  2024-08-24 13:49 ` Herbert Xu
  0 siblings, 2 replies; 4+ messages in thread
From: Liao Chen @ 2024-08-14  2:44 UTC (permalink / raw)
  To: linux-crypto; +Cc: linux-kernel, declan.murphy, herbert, davem

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@huawei.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)
 {
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] crypto: keembay - fix module autoloading
  2024-08-14  2:44 [PATCH -next] crypto: keembay - fix module autoloading Liao Chen
@ 2024-08-19 12:21 ` liaochen (A)
  2024-08-19 13:14   ` Alessandrelli, Daniele
  2024-08-24 13:49 ` Herbert Xu
  1 sibling, 1 reply; 4+ messages in thread
From: liaochen (A) @ 2024-08-19 12:21 UTC (permalink / raw)
  To: linux-crypto; +Cc: linux-kernel, declan.murphy, herbert, davem

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@huawei.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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] crypto: keembay - fix module autoloading
  2024-08-19 12:21 ` liaochen (A)
@ 2024-08-19 13:14   ` Alessandrelli, Daniele
  0 siblings, 0 replies; 4+ messages in thread
From: Alessandrelli, Daniele @ 2024-08-19 13:14 UTC (permalink / raw)
  To: liaochen4, linux-crypto; +Cc: Murphy, Declan, herbert, linux-kernel, davem

On Mon, 2024-08-19 at 20:21 +0800, liaochen (A) wrote:
> 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@huawei.com>

Acked-by: Daniele Alessandrelli <daniele.alessandrelli@intel.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
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] crypto: keembay - fix module autoloading
  2024-08-14  2:44 [PATCH -next] crypto: keembay - fix module autoloading Liao Chen
  2024-08-19 12:21 ` liaochen (A)
@ 2024-08-24 13:49 ` Herbert Xu
  1 sibling, 0 replies; 4+ messages in thread
From: Herbert Xu @ 2024-08-24 13:49 UTC (permalink / raw)
  To: Liao Chen; +Cc: linux-crypto, linux-kernel, declan.murphy, davem

On Wed, Aug 14, 2024 at 02:44:06AM +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@huawei.com>
> ---
>  drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c | 1 +
>  1 file changed, 1 insertion(+)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-24 13:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-14  2:44 [PATCH -next] crypto: keembay - fix module autoloading Liao Chen
2024-08-19 12:21 ` liaochen (A)
2024-08-19 13:14   ` Alessandrelli, Daniele
2024-08-24 13:49 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®