[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>

authored by Randy Dunlap and committed by Dave Jones 0ac633b2 28af24bb

+1 -1
+1 -1
drivers/char/agp/amd64-agp.c
··· 459 460 /* Handle shadow device of the Nvidia NForce3 */ 461 /* CHECK-ME original 2.4 version set up some IORRs. Check if that is needed. */ 462 - static int __devinit nforce3_agp_init(struct pci_dev *pdev) 463 { 464 u32 tmp, apbase, apbar, aplimit; 465 struct pci_dev *dev1;
··· 459 460 /* Handle shadow device of the Nvidia NForce3 */ 461 /* CHECK-ME original 2.4 version set up some IORRs. Check if that is needed. */ 462 + static int nforce3_agp_init(struct pci_dev *pdev) 463 { 464 u32 tmp, apbase, apbar, aplimit; 465 struct pci_dev *dev1;