Commit a0a03125 authored by David Howells's avatar David Howells Committed by Linus Torvalds

[PATCH] add missing __exit specifications

This adds some missing __exit specifications which lead to a failure to
link the AFS code directly into the kernel.
parent ba340584
......@@ -113,7 +113,7 @@ static int afs_init(void)
/*
* clean up on module removal
*/
static void afs_exit(void)
static void __exit afs_exit(void)
{
printk(KERN_INFO "kAFS: Red Hat AFS client v0.1 unregistering.\n");
......
......@@ -97,7 +97,7 @@ static int rxrpc_initialise(void)
/*
* clean up the Rx module
*/
static void rxrpc_cleanup(void)
static void __exit rxrpc_cleanup(void)
{
kenter("");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment