Skip to content

Commit

Permalink
virtual_eisa_root_init() should be __init
Browse files Browse the repository at this point in the history
WARNING: vmlinux - Section mismatch: reference to
.init.text:eisa_root_register from .text between 'virtual_eisa_root_init' (at
offset 0xc026b80f) and 'cpufreq_debug_disable_ratelimit'

Cc: Dave Jones <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
akpm00 authored and Linus Torvalds committed May 8, 2007
1 parent cd436af commit 4a1ccb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/eisa/virtual_root.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static void virtual_eisa_release (struct device *dev)
/* nothing really to do here */
}

static int virtual_eisa_root_init (void)
static int __init virtual_eisa_root_init (void)
{
int r;

Expand Down

0 comments on commit 4a1ccb5

Please sign in to comment.