Commit ec0bff06 authored by Cheah Kok Cheong's avatar Cheah Kok Cheong Committed by Greg Kroah-Hartman
Browse files

Staging: comedi: proc: Add __init prefix



Add __init prefix so that symbol will be discarded after
module loading.

Signed-off-by: default avatarCheah Kok Cheong <thrust73@gmail.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5f52f319
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ static const struct file_operations comedi_proc_fops = {
	.release	= single_release,
};

void comedi_proc_init(void)
void __init comedi_proc_init(void)
{
	proc_create("comedi", 0444, NULL, &comedi_proc_fops);
}