From: Tushar Behera Date: Fri, 9 Mar 2012 16:02:37 +0000 (-0800) Subject: ARM: EXYNOS: Add __init attribute to universal_camera_init() X-Git-Tag: v3.4-rc1~88^2~4^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6325fc403f5da30474bb773caf0435fda7e1429a;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Acked-by: Sylwester Nawrocki Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c index 44fc43e..23122f2 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);