References to __exit functions must be wrapped with __exit_p.
Signed-off-by: Jean Delvare <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Robert Jennings <[email protected]>
Cc: Marcelo Henrique Cerri <[email protected]>
Cc: Fionnuala Gunter <[email protected]>
---
drivers/crypto/amcc/crypto4xx_core.c | 2 +-
drivers/crypto/nx/nx-842.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- linux-3.15-rc7.orig/drivers/crypto/amcc/crypto4xx_core.c 2014-03-31
05:40:15.000000000 +0200
+++ linux-3.15-rc7/drivers/crypto/amcc/crypto4xx_core.c 2014-05-28
16:03:06.856588584 +0200
@@ -1292,7 +1292,7 @@ static struct platform_driver crypto4xx_
.of_match_table = crypto4xx_match,
},
.probe = crypto4xx_probe,
- .remove = crypto4xx_remove,
+ .remove = __exit_p(crypto4xx_remove),
};
module_platform_driver(crypto4xx_driver);
--- linux-3.15-rc7.orig/drivers/crypto/nx/nx-842.c 2014-05-28
15:37:10.831538018 +0200
+++ linux-3.15-rc7/drivers/crypto/nx/nx-842.c 2014-05-28 16:02:44.926136000
+0200
@@ -1247,7 +1247,7 @@ static struct vio_device_id nx842_driver
static struct vio_driver nx842_driver = {
.name = MODULE_NAME,
.probe = nx842_probe,
- .remove = nx842_remove,
+ .remove = __exit_p(nx842_remove),
.get_desired_dma = nx842_get_desired_dma,
.id_table = nx842_driver_ids,
};
--
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html