Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1813f568 authored by MajorP93's avatar MajorP93
Browse files

fixup [2/2]! drivers: soc: Fix section mismatches

As it turned out using __initdata annotation for update_felica_cfg causes issues aswell when using Clang 13 or newer.

Change-Id: I1572ad785bc51e63e8feea74b2a1505999c75872
parent ac3be1ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -436,7 +436,7 @@ static void dump_secure_stage(struct seq_file *s)
}

//#ifdef OPLUS_FEATURE_NFC_FELICA
static void __initdata update_felica_cfg(struct proc_dir_entry *parent) {
static void __init update_felica_cfg(struct proc_dir_entry *parent) {

    static const char* simfree_cfg_src[3] = {
        "/odm/etc/felica_cfg/simfree/common.cfg",