]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pcie: fix section mismatch warning
authorSam Ravnborg <sam@ravnborg.org>
Tue, 27 Feb 2007 09:19:17 +0000 (10:19 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 23:36:30 +0000 (15:36 -0800)
commit3603a6a37c5f5c6a2b109fdb48c9456f08aebdd8
treea884fcaa6c5cfb36e3c4dc0a11baa5d350326102
parent7f375f325feacd8a628e00e0d53390a4f6d8abc2
pcie: 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:pcie_portdrv_probe from .data between 'pcie_portdrv' (at offset 0xe40) and 'pcie_portdrv_err_handler'

This warning was fixed by renaming pcie_portdrv to pcie_portdriver 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/portdrv_pci.c