diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-03-09 11:02:37 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-03-11 01:32:26 -0500 |
commit | 6325fc403f5da30474bb773caf0435fda7e1429a (patch) | |
tree | 955c860c781bfd96d3cfa020c49ea2d322d9f66b | |
parent | fdaf13083817a2240ea7569658760086c880bdc2 (diff) |
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>
-rw-r--r-- | arch/arm/mach-exynos/mach-universal_c210.c | 2 |
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[] = { | |||
992 | { GPIO_CAM_VGA_NSTBY, GPIOF_OUT_INIT_LOW, "CAM_VGA_NSTBY" }, | 992 | { GPIO_CAM_VGA_NSTBY, GPIOF_OUT_INIT_LOW, "CAM_VGA_NSTBY" }, |
993 | }; | 993 | }; |
994 | 994 | ||
995 | static void universal_camera_init(void) | 995 | static void __init universal_camera_init(void) |
996 | { | 996 | { |
997 | s3c_set_platdata(&mipi_csis_platdata, sizeof(mipi_csis_platdata), | 997 | s3c_set_platdata(&mipi_csis_platdata, sizeof(mipi_csis_platdata), |
998 | &s5p_device_mipi_csis0); | 998 | &s5p_device_mipi_csis0); |