aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mach-nuri.c
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-03-09 11:02:33 -0500
committerKukjin Kim <kgene.kim@samsung.com>2012-03-11 01:32:25 -0500
commitfdaf13083817a2240ea7569658760086c880bdc2 (patch)
treef68031c38815d045a524605b7efc9ec5d4794fac /arch/arm/mach-exynos/mach-nuri.c
parent4106589fa26d87ed981c0ca37007707777085d26 (diff)
ARM: EXYNOS: Add __init attribute to nuri_camera_init()
s3c_set_platdata() is defined with __init attribute, hence all functions referencing this function should also be defined with __init attribute. nuri_camera_init() is referenced only in '__init nuri_machine_init()', thus this change won't put any additional constraint on the usage of nuri_camera_init(). Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/mach-nuri.c')
-rw-r--r--arch/arm/mach-exynos/mach-nuri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/mach-nuri.c b/arch/arm/mach-exynos/mach-nuri.c
index cc8d2f6bab2b..a0ca6307e076 100644
--- a/arch/arm/mach-exynos/mach-nuri.c
+++ b/arch/arm/mach-exynos/mach-nuri.c
@@ -1258,7 +1258,7 @@ static struct gpio nuri_camera_gpios[] = {
1258 { GPIO_CAM_MEGA_RST, GPIOF_OUT_INIT_LOW, "CAM_8M_NRST" }, 1258 { GPIO_CAM_MEGA_RST, GPIOF_OUT_INIT_LOW, "CAM_8M_NRST" },
1259}; 1259};
1260 1260
1261static void nuri_camera_init(void) 1261static void __init nuri_camera_init(void)
1262{ 1262{
1263 s3c_set_platdata(&mipi_csis_platdata, sizeof(mipi_csis_platdata), 1263 s3c_set_platdata(&mipi_csis_platdata, sizeof(mipi_csis_platdata),
1264 &s5p_device_mipi_csis0); 1264 &s5p_device_mipi_csis0);