From: Russell King Date: Tue, 7 Feb 2012 10:41:34 +0000 (+0000) Subject: ARM: omap: fix section mismatch error for omap_4430sdp_display_init() X-Git-Tag: v3.3-rc4~28^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3958fe05d78643ec6c0e651747b59361553a840;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(). Acked-by: Tony Lindgren Signed-off-by: Russell King --- Reading git-diff-tree failed