From: Arnd Bergmann Date: Thu, 25 Apr 2013 14:49:05 +0000 (+0200) Subject: irqchip: s3c24xx: add missing __init annotations X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~47^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc8fd900c4d460b4e4bf785bb48bfced0ac9941b;p=pandora-kernel.git irqchip: s3c24xx: add missing __init annotations The s3c24xx_init_intc and s3c2412_init_irq functions are only called at init time, and they call functions already marked __init, so they should be marked in the same way. This was reported as WARNING: vmlinux.o(.text+0x19e0b4): Section mismatch in reference from the function s3c2412_init_irq() to the function .init.text:s3c24xx_init_intc.constprop.8() The function s3c2412_init_irq() references the function __init s3c24xx_init_intc.constprop.8(). This is often because s3c2412_init_irq lacks a __init annotation or the annotation of s3c24xx_init_intc.constprop.8 is wrong. Signed-off-by: Arnd Bergmann Acked-by: Heiko Stuebner Cc: Kukjin Kim --- Reading git-diff-tree failed