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>
.burstlenth_bits = 5, /* 32 bytes: 2 bursts */
};
-static const struct of_device_id exynos_smfc_match[] __initconst = {
+static const struct of_device_id exynos_smfc_match[] = {
{
.compatible = "samsung,exynos-jpeg",
.data = &smfc_3475_data,
SET_RUNTIME_PM_OPS(NULL, smfc_runtime_resume, smfc_runtime_suspend)
};
-static struct platform_driver exynos_smfc_driver __refdata = {
+static struct platform_driver exynos_smfc_driver = {
.probe = exynos_smfc_probe,
.remove = exynos_smfc_remove,
.driver = {