|
@@ -1155,7 +1155,7 @@ struct crypto4xx_alg_common crypto4xx_alg[] = {
|
|
/**
|
|
/**
|
|
* Module Initialization Routine
|
|
* Module Initialization Routine
|
|
*/
|
|
*/
|
|
-static int __init crypto4xx_probe(struct platform_device *ofdev)
|
|
|
|
|
|
+static int crypto4xx_probe(struct platform_device *ofdev)
|
|
{
|
|
{
|
|
int rc;
|
|
int rc;
|
|
struct resource res;
|
|
struct resource res;
|
|
@@ -1263,7 +1263,7 @@ err_alloc_dev:
|
|
return rc;
|
|
return rc;
|
|
}
|
|
}
|
|
|
|
|
|
-static int __exit crypto4xx_remove(struct platform_device *ofdev)
|
|
|
|
|
|
+static int crypto4xx_remove(struct platform_device *ofdev)
|
|
{
|
|
{
|
|
struct device *dev = &ofdev->dev;
|
|
struct device *dev = &ofdev->dev;
|
|
struct crypto4xx_core_device *core_dev = dev_get_drvdata(dev);
|
|
struct crypto4xx_core_device *core_dev = dev_get_drvdata(dev);
|
|
@@ -1291,7 +1291,7 @@ static struct platform_driver crypto4xx_driver = {
|
|
.of_match_table = crypto4xx_match,
|
|
.of_match_table = crypto4xx_match,
|
|
},
|
|
},
|
|
.probe = crypto4xx_probe,
|
|
.probe = crypto4xx_probe,
|
|
- .remove = __exit_p(crypto4xx_remove),
|
|
|
|
|
|
+ .remove = crypto4xx_remove,
|
|
};
|
|
};
|
|
|
|
|
|
module_platform_driver(crypto4xx_driver);
|
|
module_platform_driver(crypto4xx_driver);
|