mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Staging: comedi: proc: Add __init prefix
Add __init prefix so that symbol will be discarded after module loading. Signed-off-by: Cheah Kok Cheong <thrust73@gmail.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5f52f319cd
commit
ec0bff06bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue