aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-05-29 03:54:35 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2014-06-20 09:26:08 -0400
commit13269ec647050fd7652abd0eb05673ffe90c3e92 (patch)
treec363f0657866db5fb589661359670dfd44856faa
parent4776d381276ddbdec01381c4ae18150263d41ced (diff)
crypto: drivers - Add 2 missing __exit_p
References to __exit functions must be wrapped with __exit_p. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: "David S. Miller" <davem@davemloft.net> Cc: Robert Jennings <rcj@linux.vnet.ibm.com> Cc: Marcelo Henrique Cerri <mhcerri@linux.vnet.ibm.com> Cc: Fionnuala Gunter <fin@linux.vnet.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/amcc/crypto4xx_core.c2
-rw-r--r--drivers/crypto/nx/nx-842.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c
index 37f9cc98ba17..e4c6c58fbb03 100644
--- a/drivers/crypto/amcc/crypto4xx_core.c
+++ b/drivers/crypto/amcc/crypto4xx_core.c
@@ -1292,7 +1292,7 @@ static struct platform_driver crypto4xx_driver = {
1292 .of_match_table = crypto4xx_match, 1292 .of_match_table = crypto4xx_match,
1293 }, 1293 },
1294 .probe = crypto4xx_probe, 1294 .probe = crypto4xx_probe,
1295 .remove = crypto4xx_remove, 1295 .remove = __exit_p(crypto4xx_remove),
1296}; 1296};
1297 1297
1298module_platform_driver(crypto4xx_driver); 1298module_platform_driver(crypto4xx_driver);
diff --git a/drivers/crypto/nx/nx-842.c b/drivers/crypto/nx/nx-842.c
index 502edf0a2933..544f6d327ede 100644
--- a/drivers/crypto/nx/nx-842.c
+++ b/drivers/crypto/nx/nx-842.c
@@ -1247,7 +1247,7 @@ static struct vio_device_id nx842_driver_ids[] = {
1247static struct vio_driver nx842_driver = { 1247static struct vio_driver nx842_driver = {
1248 .name = MODULE_NAME, 1248 .name = MODULE_NAME,
1249 .probe = nx842_probe, 1249 .probe = nx842_probe,
1250 .remove = nx842_remove, 1250 .remove = __exit_p(nx842_remove),
1251 .get_desired_dma = nx842_get_desired_dma, 1251 .get_desired_dma = nx842_get_desired_dma,
1252 .id_table = nx842_driver_ids, 1252 .id_table = nx842_driver_ids,
1253}; 1253};