summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2012-03-09 17:02:37 +0100
committerKukjin Kim <kgene.kim@samsung.com>2012-03-11 07:32:26 +0100
commit6325fc403f5da30474bb773caf0435fda7e1429a (patch)
tree955c860c781bfd96d3cfa020c49ea2d322d9f66b /arch
parentARM: EXYNOS: Add __init attribute to nuri_camera_init() (diff)
downloadlinux-6325fc403f5da30474bb773caf0435fda7e1429a.tar.xz
linux-6325fc403f5da30474bb773caf0435fda7e1429a.zip
ARM: EXYNOS: Add __init attribute to universal_camera_init()
s3c_set_platdata() is defined with __init attribute, hence all functions referencing this function should also be defined with __init attribute. universal_camera_init() is referenced only in '__init universal_machine_init()', thus this change won't put any additional constraint on the usage of universal_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')
-rw-r--r--arch/arm/mach-exynos/mach-universal_c210.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c
index 44fc43e06a6a..23122f294a24 100644
--- a/arch/arm/mach-exynos/mach-universal_c210.c
+++ b/arch/arm/mach-exynos/mach-universal_c210.c
@@ -992,7 +992,7 @@ static struct gpio universal_camera_gpios[] = {
{ GPIO_CAM_VGA_NSTBY, GPIOF_OUT_INIT_LOW, "CAM_VGA_NSTBY" },
};
-static void universal_camera_init(void)
+static void __init universal_camera_init(void)
{
s3c_set_platdata(&mipi_csis_platdata, sizeof(mipi_csis_platdata),
&s5p_device_mipi_csis0);