• K
    [PATCH] powerpc: some prom.c cleanups · 60dda256
    Kumar Gala 提交于
    On !CONFIG_PPC_MULTIPLATFORM _machine is defined as 0.  This is ok, but
    we can't assign a value to _machine then.
    
    We may not have CONFIG_PCI available, so only build in support for
    find_parent_pci_resource(), request_OF_resource(), release_OF_resource()
    if PCI is enabled.  This is probably not the long term fix but works out
    for now.
    
    Make reg_property64 contain 64-bit elements on a 32-bit machine.
    
    Mark the deprecated prom.c functions as __deprecated.
    Signed-off-by: NKumar K. Gala <kumar.gala@freescale.com>
    Signed-off-by: NPaul Mackerras <paulus@samba.org>
    60dda256
prom.h 6.6 KB