Commit 9818e9b0 authored by Carlos Llamas's avatar Carlos Llamas Committed by Treehugger Robot
Browse files

ANDROID: irqchip/gic-v3: fix EXPORT_SYMBOL with __init

The gic_v3_dist_init() function was recently exported to be called from
within a vendor module in https://r.android.com/3318000

. However, the
__init attribute was incorrectly kept while porting the patch into the
new branch. This triggers the following build warning:

  WARNING: modpost: vmlinux: gic_v3_dist_init: EXPORT_SYMBOL used for init symbol. Remove __init or EXPORT_SYMBOL.

Remove the __init attribute from gic_v3_dist_init() to fix it.

Cc: Nagireddy Annem <quic_nannem@quicinc.com>
Cc: Shreyas K K <quic_shrekk@quicinc.com>
Cc: Melody Olvera <quic_molvera@quicinc.com>
Cc: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
Fixes: bca065e8 ("ANDROID: irqchip/irq-gic-v3: Add vendor hook for gic suspend")
Change-Id: Ibafcef50da5996be50dd905d3e2d12f2993f37fa
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
parent 1f2b2e34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment