]> git.baikalelectronics.ru Git - kernel.git/commitdiff
crypto: drivers - Add 2 missing __exit_p
authorJean Delvare <jdelvare@suse.de>
Thu, 29 May 2014 07:54:35 +0000 (09:54 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Jun 2014 13:26:08 +0000 (21:26 +0800)
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>
drivers/crypto/amcc/crypto4xx_core.c
drivers/crypto/nx/nx-842.c

index 37f9cc98ba171db75c07c24975e74819c4e272cb..e4c6c58fbb03ec66c475278adb07ff389e896599 100644 (file)
@@ -1292,7 +1292,7 @@ static struct platform_driver crypto4xx_driver = {
                .of_match_table = crypto4xx_match,
        },
        .probe          = crypto4xx_probe,
-       .remove         = crypto4xx_remove,
+       .remove         = __exit_p(crypto4xx_remove),
 };
 
 module_platform_driver(crypto4xx_driver);
index 502edf0a29332a5e9af8bbe362c6b5deccc62568..544f6d327ede5512d287bcc87e28663200f873a5 100644 (file)
@@ -1247,7 +1247,7 @@ static struct vio_device_id nx842_driver_ids[] = {
 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,
 };