From b52bc8426ca68d29e7ef36ecc947f8eaa4053bd7 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Fri, 9 Jul 2010 11:07:10 +0200 Subject: Add __init and __exit markers Signed-off-by: Nikos Mavrogiannopoulos --- cryptodev_main.c | 4 ++-- 1 file 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); -- cgit