crypto: hifn_795x - fix __dev{init,exit} markings
authorMike Frysinger <vapier@gentoo.org>
Wed, 27 May 2009 05:16:21 +0000 (15:16 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 2 Jun 2009 04:04:59 +0000 (14:04 +1000)
commitf3d8fe40498eea9f45be260bdf6ccada845411f3
treeea3f4f7d6027b71994c3b4f9a9a48eac593f4437
parent4e033a6bc70f094d36128c328f6ca725c6ca4b4c
crypto: hifn_795x - fix __dev{init,exit} markings

The remove member of the pci_driver hifn_pci_driver uses __devexit_p(),
so the remove function itself should be marked with __devexit.  And where
there be __devexit on the remove, so is there __devinit on the probe.

Similarly, the module_init/module_exit functions should be declared with
plain __init/__exit markings, not the hotplug __dev{init,exit} ones.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
CC: Patrick McHardy <kaber@trash.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hifn_795x.c