]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 5297/1: [KS8695] Fix two compile-time warnings
authorAndrew Victor <linux@maxim.org.za>
Tue, 7 Oct 2008 19:44:07 +0000 (20:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Oct 2008 09:16:00 +0000 (10:16 +0100)
commit8e6c81fe289e90b188203ec1db1dc2f3e992ebde
treeb4c9929023cfe07c646eeb5ffbcfa7965cb79137
parent8d163b3fa52bb532a4d431c195352fcf356b4977
[ARM] 5297/1: [KS8695] Fix two compile-time warnings

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: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ks8695/include/mach/memory.h
arch/arm/mach-ks8695/pci.c