]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00223103 ESAI ASRC: clean build warning
authorChen Liangjun <b36089@freescale.com>
Wed, 5 Sep 2012 08:45:18 +0000 (16:45 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:56 +0000 (14:12 +0200)
commit7d3e96219ab716afa4512f4fab3cda8bfe95bc93
treefdb2e6613f763a4c4fe09926ae09038c9f3d37aa
parent7485ccdae6e39498b4bee2eb03d81292536f9651
ENGR00223103 ESAI ASRC: clean build warning

BUILD WARNING:
WARNING: arch/arm/mach-mx6/built-in.o(.data+0x7e44): Section mismatch in
reference from the variable sab_audio_data to the (unknown reference)
.init.rodata:(unknown) The variable sab_audio_data references the
(unknown reference) __initconst (unknown) If the reference is valid then
annotate the variable with __init* or __refdata (see linux/init.h) or
name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

In this patch, remove esai_p2p struct with init attribute.

Signed-off-by: Chen Liangjun <b36089@freescale.com>
arch/arm/mach-mx6/board-mx6q_arm2.c