From: Liao Chen Date: Wed, 14 Aug 2024 02:44:06 +0000 (+0000) Subject: crypto: keembay - fix module autoloading X-Git-Tag: v6.12-rc1~231^2~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86c85d6657e478c516c825d3d4a2a61aef627934;p=thirdparty%2Fkernel%2Flinux.git crypto: keembay - fix module autoloading 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: Daniele Alessandrelli Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c b/drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c index c2dfca73fe4ea..e54c79890d44f 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) {