linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM: SAMSUNG: Add __init attribute to functions calling s3c_set_platdata
@ 2012-03-01  9:17 Tushar Behera
  2012-03-01  9:17 ` [PATCH 1/4] ARM: EXYNOS: Add __init attribute to nuri_camera_init() Tushar Behera
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Tushar Behera @ 2012-03-01  9:17 UTC (permalink / raw)
  To: linux-arm-kernel

The function s3c_set_platdata is defined with __init attribute, hence the
functions calling s3c_set_platdata should also be defined with __init
attribute.

Even though all the modified functions are called from xxx_machine_init()
functions, it is still better to define each of them with __init attribute.

Tushar Behera (4):
  ARM: EXYNOS: Add __init attribute to nuri_camera_init()
  ARM: EXYNOS: Add __init attribute to universal_camera_init()
  ARM: SAMSUNG: Add __init attribute to samsung_bl_set()
  ARM: SAMSUNG: Add __init attribute to xxx_set_platdata() wrappers

 arch/arm/mach-exynos/mach-nuri.c           |    2 +-
 arch/arm/mach-exynos/mach-universal_c210.c |    2 +-
 arch/arm/plat-samsung/dev-backlight.c      |    2 +-
 arch/arm/plat-samsung/devs.c               |    4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-09 16:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-01  9:17 [PATCH 0/4] ARM: SAMSUNG: Add __init attribute to functions calling s3c_set_platdata Tushar Behera
2012-03-01  9:17 ` [PATCH 1/4] ARM: EXYNOS: Add __init attribute to nuri_camera_init() Tushar Behera
2012-03-01  9:33   ` Sylwester Nawrocki
2012-03-01  9:17 ` [PATCH 2/4] ARM: EXYNOS: Add __init attribute to universal_camera_init() Tushar Behera
2012-03-01  9:33   ` Sylwester Nawrocki
2012-03-01  9:17 ` [PATCH 3/4] ARM: SAMSUNG: Add __init attribute to samsung_bl_set() Tushar Behera
2012-03-01  9:17 ` [PATCH 4/4] ARM: SAMSUNG: Add __init attribute to xxx_set_platdata() wrappers Tushar Behera
2012-03-09 16:04 ` [PATCH 0/4] ARM: SAMSUNG: Add __init attribute to functions calling s3c_set_platdata Kukjin Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).