aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorSam Ravnborg <[email protected]>2011-12-27 21:55:49 +0000
committerFlorian Tobias Schandinat <[email protected]>2012-01-03 16:02:55 +0000
commitc5627f65d6b860023f8ee985df61c20617dd21b5 (patch)
tree4221aa13fa24f37f5373ec629e16cda253323c7e /fs/proc/array.c
parentvideo: s3c-fb: Don't keep device runtime active when open (diff)
downloadkernel-c5627f65d6b860023f8ee985df61c20617dd21b5.tar.gz
kernel-c5627f65d6b860023f8ee985df61c20617dd21b5.zip
grvga: fix section mismatch warnings
Fix following section mismatch warnings: WARNING: drivers/video/built-in.o(.devinit.text+0x110): Section mismatch in reference from the function grvga_probe() to the function .init.text:grvga_parse_custom() The function __devinit grvga_probe() references a function __init grvga_parse_custom(). If grvga_parse_custom is only used by grvga_probe then annotate grvga_parse_custom with a matching annotation. WARNING: drivers/video/built-in.o(.devinit.text+0x1f8): Section mismatch in reference from the function grvga_probe() to the variable .init.data:grvga_fix The function __devinit grvga_probe() references a variable __initdata grvga_fix. If grvga_fix is only used by grvga_probe then annotate grvga_fix with a matching annotation. WARNING: drivers/video/built-in.o(.devinit.text+0x204): Section mismatch in reference from the function grvga_probe() to the variable .init.data:grvga_fix The function __devinit grvga_probe() references a variable __initdata grvga_fix. If grvga_fix is only used by grvga_probe then annotate grvga_fix with a matching annotation. grvga_fix is used in a function annotated __devinit - so match this using a __devinitdata annotation on grvga_fix. grvga_parse_custom() is used in a function annotated __devinit - so match this by annotating grvga_parse_custom() with __devinit too. Signed-off-by: Sam Ravnborg <[email protected]> Cc: Kristoffer Glembo <[email protected]> Signed-off-by: Florian Tobias Schandinat <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions