]> err.no Git - linux-2.6/commit
x86: fix section mismatch warning in kernel/pci-calgary
authorSam Ravnborg <sam@ravnborg.org>
Fri, 1 Feb 2008 16:49:42 +0000 (17:49 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 1 Feb 2008 16:49:42 +0000 (17:49 +0100)
commit31f3dff6c536e33f97c8f5049e1dd0a392933265
treefaf3d2b4264ff87a94ed2e03fbc4b5385fdb8cb6
parent009cbadb6e9364e0b006ef6531953c0eced1db4d
x86: fix section mismatch warning in kernel/pci-calgary

Fix following warning:
WARNING: arch/x86/kernel/built-in.o(.text+0x1eb41): Section mismatch in reference from the function calgary_handle_quirks() to the function .init.text:calgary_set_split_completion_timeout()

calgary_handle_quirks() are only called at
__init time (in calgary_init_one() via handle_quirks ops).
So annotate this function and the sister function __init.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-calgary_64.c