sh: intc: Fix up section mismatch for intc_ack_data
authorPaul Mundt <lethal@linux-sh.org>
Wed, 28 Mar 2012 15:28:19 +0000 (00:28 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 28 Mar 2012 15:28:19 +0000 (00:28 +0900)
commitb448d6adf733cc130339685531940f28902f2b75
treed04e45cb805eb66045fa5ed436b3ad1cdf6e07e9
parentadaf7fd2df4a6560cb5c46fae6364aabce2a84fd
sh: intc: Fix up section mismatch for intc_ack_data

intc_ack_data is flagged as __init when it shouldn't be, causing section
mismatches in non-init paths like intc_set_ack_handle():

WARNING: drivers/built-in.o(.text+0x5d760):
Section mismatch in reference from the function
intc_set_ack_handle() to the function .init.text:intc_ack_data()
The function intc_set_ack_handle()
references the function __init intc_ack_data().
This is often because intc_set_ack_handle lacks a __init
annotation or the annotation of intc_ack_data is wrong.

Reported-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc/handle.c