powerpc/eeh: Avoid build warnings

The patch is for avoiding following build warnings:

   The function .pnv_pci_ioda_fixup() references
   the function __init .eeh_init().
   This is often because .pnv_pci_ioda_fixup lacks a __init

   The function .pnv_pci_ioda_fixup() references
   the function __init .eeh_addr_cache_build().
   This is often because .pnv_pci_ioda_fixup lacks a __init

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Gavin Shan
2013-06-27 13:46:47 +08:00
committed by Benjamin Herrenschmidt
부모 56ca4fde90
커밋 eeb6361fdd
3개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제

파일 보기

@@ -285,7 +285,7 @@ void eeh_addr_cache_rmv_dev(struct pci_dev *dev)
* Must be run late in boot process, after the pci controllers
* have been scanned for devices (after all device resources are known).
*/
void __init eeh_addr_cache_build(void)
void eeh_addr_cache_build(void)
{
struct device_node *dn;
struct eeh_dev *edev;