1. 26 Jul, 2010 3 commits
    • Ralf Baechle's avatar
      VIDEO: PMAG-BA: Fix section mismatch · 9625b513
      Ralf Baechle authored
      WARNING: drivers/video/built-in.o(.data+0x1e0): Section mismatch in reference fr
      om the variable pmagbafb_driver to the function .init.text:pmagbafb_probe()
      The variable pmagbafb_driver references
      the function __init pmagbafb_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      Fixing this one triggers 2 more:
      
      WARNING: drivers/video/built-in.o(.devinit.text+0xc0): Section mismatch in reference from the function pmagbafb_probe() to the variable .init.data:pmagbafb_fix
      The function __devinit pmagbafb_probe() references
      a variable __initdata pmagbafb_fix.
      If pmagbafb_fix is only used by pmagbafb_probe then
      annotate pmagbafb_fix with a matching annotation.
      
      WARNING: drivers/video/built-in.o(.devinit.text+0x108): Section mismatch in reference from the function pmagbafb_probe() to the variable .init.data:pmagbafb_defined
      The function __devinit pmagbafb_probe() references
      a variable __initdata pmagbafb_defined.
      If pmagbafb_defined is only used by pmagbafb_probe then
      annotate pmagbafb_defined with a matching annotation.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      9625b513
    • Ralf Baechle's avatar
      NET: declance: Fix section mismatches · 3852cc33
      Ralf Baechle authored
      WARNING: drivers/net/built-in.o(.data+0x24): Section mismatch in reference from
      the variable dec_lance_tc_driver to the function .init.text:dec_lance_tc_probe()
      The variable dec_lance_tc_driver references
      the function __init dec_lance_tc_probe()
      If the reference is valid then annotate the
      variable with __init* or __refdata (see linux/init.h) or name the variable:
      *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
      
      Fixing this one results in a new mismatch:
      
      WARNING: drivers/net/built-in.o(.devinit.text+0x14): Section mismatch in reference from the function dec_lance_tc_probe() to the function .init.text:dec_lance_probe()
      The function __devinit dec_lance_tc_probe() references
      a function __init dec_lance_probe().
      If dec_lance_probe is only used by dec_lance_tc_probe then
      annotate dec_lance_probe with a matching annotation.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      3852cc33
    • 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
  2. 23 Jul, 2010 9 commits
  3. 22 Jul, 2010 23 commits
  4. 21 Jul, 2010 5 commits