[COMMON] media: smfc: fix section mismatch
authorCho KyongHo <pullip.cho@samsung.com>
Tue, 18 Aug 2015 16:07:22 +0000 (01:07 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:31:14 +0000 (14:31 +0900)
commit29fce1890b4a331c433a12f31468609e2e0aa12c
tree5059aebbe2162690b58db15e969d4d99477b9aeb
parent93e48495586081405ec19becc81b30b2b5c1252d
[COMMON] media: smfc: fix section mismatch

This fixes the following section mismatch problem:

WARNING: drivers/media/platform/exynos/built-in.o(.text+0x2c96c):
Section mismatch in reference from the function
exynos_smfc_probe() to the variable .init.rodata:exynos_smfc_match
The function exynos_smfc_probe() references the variable
__initconst exynos_smfc_match. This is often because
exynos_smfc_probe lacks a __initconst annotation or the annotation
of exynos_smfc_match is wrong.

Change-Id: Id3498e6d5ff70ce8bc96bb22250776a46092b382
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/media/platform/exynos/smfc/smfc.c