PCI: aer: fix section mismatch warning
authorSam Ravnborg <sam@ravnborg.org>
Tue, 27 Feb 2007 09:22:00 +0000 (10:22 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 23:36:30 +0000 (15:36 -0800)
commitc1996c2778e90f80cb9fc6a52508068f10d39611
tree50219a3fcf94ba638aa6f7ecb24b94068a5ba40d
parent3603a6a37c5f5c6a2b109fdb48c9456f08aebdd8
PCI: aer: fix section mismatch warning

Fix following section mismatch warning (when compiled with CONFIG_HOTPLUG=n):
WARNING: drivers/pci/built-in.o - Section mismatch: reference to .init.text:aer_probe from .data between 'aerdrv' (at offset 0x1608) and 'aer_error_handlers'

Warning was fixed by renaming aerdrv to aerdriver so we pass the whitelist.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pcie/aer/aerdrv.c