ChangeSet 1.2231.1.125, 2005/03/28 19:51:19-08:00, [EMAIL PROTECTED]
[PATCH] Use __init and __exit in pktcdvd
This patch adds __init and __exit annotations to the pktcdvd driver.
Signed-off-by: Peter Osterlund <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
pktcdvd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c
--- a/drivers/block/pktcdvd.c 2005-03-28 21:34:08 -08:00
+++ b/drivers/block/pktcdvd.c 2005-03-28 21:34:08 -08:00
@@ -2624,7 +2624,7 @@
.fops = &pkt_ctl_fops
};
-static int pkt_init(void)
+static int __init pkt_init(void)
{
int ret;
@@ -2660,7 +2660,7 @@
return ret;
}
-static void pkt_exit(void)
+static void __exit pkt_exit(void)
{
remove_proc_entry("pktcdvd", proc_root_driver);
misc_deregister(&pkt_misc);
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html