summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-09 11:07:10 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-19 09:26:47 +0200
commitb52bc8426ca68d29e7ef36ecc947f8eaa4053bd7 (patch)
tree64173b087c01f056e4e190555fb27edc138a2105
parentd420d44c9c8ba98dc7696530f8eeb55f4cbe32ed (diff)
downloadcryptodev-linux-b52bc8426ca68d29e7ef36ecc947f8eaa4053bd7.tar.gz
cryptodev-linux-b52bc8426ca68d29e7ef36ecc947f8eaa4053bd7.tar.xz
cryptodev-linux-b52bc8426ca68d29e7ef36ecc947f8eaa4053bd7.zip
Add __init and __exit markers
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r--cryptodev_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptodev_main.c b/cryptodev_main.c
index 0a1e383..957a570 100644
--- a/cryptodev_main.c
+++ b/cryptodev_main.c
@@ -795,7 +795,7 @@ struct miscdevice cryptodev = {
.fops = &cryptodev_fops,
};
-static int
+static int __init
cryptodev_register(void)
{
int rc;
@@ -821,7 +821,7 @@ cryptodev_register(void)
return 0;
}
-static void
+static void __exit
cryptodev_deregister(void)
{
misc_deregister(&cryptodev);