From: Andrew Victor Date: Tue, 7 Oct 2008 19:44:07 +0000 (+0100) Subject: [ARM] 5297/1: [KS8695] Fix two compile-time warnings X-Git-Tag: v2.6.28-rc1~293^2~9^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e6c81fe289e90b188203ec1db1dc2f3e992ebde;p=pandora-kernel.git [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 Signed-off-by: Russell King --- Reading git-diff-tree failed