From: Luis de Bethencourt Date: Fri, 28 Aug 2015 16:43:24 +0000 (+0200) Subject: crypto: amcc - Fix module autoload for OF platform driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3dc1597b6b0a8d17fc56d93b5e9cf859fe681727;p=linux-beck.git crypto: amcc - Fix module autoload for OF platform driver This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index 192a8fa325c1..7e9e461a9cbc 100644 --- a/drivers/crypto/amcc/crypto4xx_core.c +++ b/drivers/crypto/amcc/crypto4xx_core.c @@ -1284,6 +1284,7 @@ static const struct of_device_id crypto4xx_match[] = { { .compatible = "amcc,ppc4xx-crypto",}, { }, }; +MODULE_DEVICE_TABLE(of, crypto4xx_match); static struct platform_driver crypto4xx_driver = { .driver = {