Skip to content
  • Randy Dunlap's avatar
    sm501fb: fix section mismatch warning · 9845afc8
    Randy Dunlap authored
    
    
    Fix section mismatch warning in sm501fb:
    
    WARNING: drivers/video/sm501fb.o(.text+0x21d6): Section mismatch in reference from the function sm501fb_init_fb() to the variable .devinit.data:sm501_default_mode
    The function sm501fb_init_fb() references
    the variable __devinitdata sm501_default_mode.
    This is often because sm501fb_init_fb lacks a __devinitdata
    annotation or the annotation of sm501_default_mode is wrong.
    
    Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    9845afc8