Skip to content
  • Andrew Victor's avatar
    [ARM] 5297/1: [KS8695] Fix two compile-time warnings · 8e6c81fe
    Andrew Victor authored
    
    
    Fix two warnings when compiling for the KS8695 processor.
    
    arch/arm/include/asm/dma-mapping.h: In function 'dma_to_virt':
    arch/arm/include/asm/dma-mapping.h:40: warning: return makes pointer
    from integer without a cast
    
    Section mismatch in reference from the function pcibios_fixup_bus() to
    the (unknown reference) .devinit.text:(unknown)
    The function pcibios_fixup_bus() references
    the (unknown reference) __devinit (unknown).
    This is often because pcibios_fixup_bus lacks a __devinit
    annotation or the annotation of (unknown) is wrong.
    
    Signed-off-by: default avatarAndrew Victor <linux@maxim.org.za>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    8e6c81fe