• Ralf Baechle's avatar
    VIDEO. gbefb: Fix section mismatches. · 18f9f11a
    Ralf Baechle authored
    WARNING: drivers/video/built-in.o(.devinit.text+0x54): Section mismatch in reference from the function gbefb_probe() to the function .init.text:gbefb_setup()
    The function __devinit gbefb_probe() references
    a function __init gbefb_setup().
    If gbefb_setup is only used by gbefb_probe then
    annotate gbefb_setup with a matching annotation.
    
    WARNING: drivers/video/built-in.o(.devinit.text+0x208): Section mismatch in reference from the function gbefb_probe() to the variable .init.data:mode_option
    The function __devinit gbefb_probe() references
    a variable __initdata mode_option.
    If mode_option is only used by gbefb_probe then
    annotate mode_option with a matching annotation.
    
    WARNING: drivers/video/built-in.o(.devinit.text+0x214): Section mismatch in reference from the function gbefb_probe() to the variable .init.data:default_mode
    The function __devinit gbefb_probe() references
    a variable __initdata default_mode.
    If default_mode is only used by gbefb_probe then
    annotate default_mode with a matching annotation.
    
    WARNING: drivers/video/built-in.o(.devinit.text+0x23c): Section mismatch in reference from the function gbefb_probe() to the variable .init.data:default_var
    The function __devinit gbefb_probe() references
    a variable __initdata default_var.
    If default_var is only used by gbefb_probe then
    annotate default_var with a matching annotation.
    
    Fixing these results in more mismatches:
    
    WARNING: drivers/video/built-in.o(.devinit.text+0x3c): Section mismatch in reference from the function gbefb_setup() to the variable .init.data:default_var_LCD
    The function __devinit gbefb_setup() references
    a variable __initdata default_var_LCD.
    If default_var_LCD is only used by gbefb_setup then
    annotate default_var_LCD with a matching annotation.
    
    WARNING: drivers/video/built-in.o(.devinit.text+0x14c): Section mismatch in reference from the function gbefb_setup() to the variable .init.data:default_mode_LCD
    The function __devinit gbefb_setup() references
    a variable __initdata default_mode_LCD.
    If default_mode_LCD is only used by gbefb_setup then
    annotate default_mode_LCD with a matching annotation.
    
    WARNING: drivers/video/built-in.o(.devinit.text+0x150): Section mismatch in reference from the function gbefb_setup() to the variable .init.data:default_var_CRT
    The function __devinit gbefb_setup() references
    a variable __initdata default_var_CRT.
    If default_var_CRT is only used by gbefb_setup then
    annotate default_var_CRT with a matching annotation.
    
    WARNING: drivers/video/built-in.o(.devinit.text+0x154): Section mismatch in reference from the function gbefb_setup() to the variable .init.data:default_mode_CRT
    The function __devinit gbefb_setup() references
    a variable __initdata default_mode_CRT.
    If default_mode_CRT is only used by gbefb_setup then
    annotate default_mode_CRT with a matching annotation.
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    18f9f11a
gbefb.c 32.7 KB