aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/nx/nx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/nx/nx.c')
-rw-r--r--drivers/crypto/nx/nx.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/crypto/nx/nx.c b/drivers/crypto/nx/nx.c
index f7a8a16aa7d3..c767f232e693 100644
--- a/drivers/crypto/nx/nx.c
+++ b/drivers/crypto/nx/nx.c
@@ -634,8 +634,7 @@ void nx_crypto_ctx_exit(struct crypto_tfm *tfm)
634 nx_ctx->out_sg = NULL; 634 nx_ctx->out_sg = NULL;
635} 635}
636 636
637static int __devinit nx_probe(struct vio_dev *viodev, 637static int nx_probe(struct vio_dev *viodev, const struct vio_device_id *id)
638 const struct vio_device_id *id)
639{ 638{
640 dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n", 639 dev_dbg(&viodev->dev, "driver probed: %s resource id: 0x%x\n",
641 viodev->name, viodev->resource_id); 640 viodev->name, viodev->resource_id);
@@ -653,7 +652,7 @@ static int __devinit nx_probe(struct vio_dev *viodev,
653 return nx_register_algs(); 652 return nx_register_algs();
654} 653}
655 654
656static int __devexit nx_remove(struct vio_dev *viodev) 655static int nx_remove(struct vio_dev *viodev)
657{ 656{
658 dev_dbg(&viodev->dev, "entering nx_remove for UA 0x%x\n", 657 dev_dbg(&viodev->dev, "entering nx_remove for UA 0x%x\n",
659 viodev->unit_address); 658 viodev->unit_address);
@@ -689,7 +688,7 @@ static void __exit nx_fini(void)
689 vio_unregister_driver(&nx_driver.viodriver); 688 vio_unregister_driver(&nx_driver.viodriver);
690} 689}
691 690
692static struct vio_device_id nx_crypto_driver_ids[] __devinitdata = { 691static struct vio_device_id nx_crypto_driver_ids[] = {
693 { "ibm,sym-encryption-v1", "ibm,sym-encryption" }, 692 { "ibm,sym-encryption-v1", "ibm,sym-encryption" },
694 { "", "" } 693 { "", "" }
695}; 694};