[AGPGART] agp-amd64: section mismatches with HOTPLUG=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 20 Nov 2006 02:52:28 +0000 (18:52 -0800)
committerDave Jones <davej@redhat.com>
Tue, 12 Dec 2006 23:10:52 +0000 (18:10 -0500)
commit0ac633b23db91e48210179e31dd88ad9e9a8aba9
treebe1bf4fdca049345b476250ec7195e145b8e4e97
parent28af24bb8470c7d0573b703a2955548b73a6c066
[AGPGART] agp-amd64: section mismatches with HOTPLUG=n

When CONFIG_HOTPLUG=n, agp_amd64_resume() calls nforce3_agp_init(),
which is __devinit == __init, so has been discarded and is not
usable for resume.

WARNING: drivers/char/agp/amd64-agp.o - Section mismatch: reference to .init.text: from .text between 'agp_amd64_resume' (at offset 0x249) and 'amd64_tlbflush'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/amd64-agp.c