From: Russell King - ARM Linux Date: Wed, 8 Feb 2012 16:39:30 +0000 (+0000) Subject: ARM: omap: fix section mismatch error for omap_4430sdp_display_init() X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=825ce7ed81e88f076e75e68e392a9e0d77e77df7;p=pandora-kernel.git ARM: omap: fix section mismatch error for omap_4430sdp_display_init() WARNING: arch/arm/mach-omap2/built-in.o(.text+0xb798): Section mismatch in reference from the function omap_4430sdp_display_init() to the function .init.text:omap_display_init() The function omap_4430sdp_display_init() references the function __init omap_display_init(). This is often because omap_4430sdp_display_init lacks a __init annotation or the annotation of omap_display_init is wrong. Fix this by adding __init to omap_4430sdp_display_init(). Signed-off-by: Russell King --- Reading git-diff-tree failed