Re: [PATCH 0/4] ARM: SAMSUNG: Add __init attribute to functions calling s3c_set_platdata

2012-03-09 Thread Kukjin Kim
On 03/01/12 01:17, Tushar Behera wrote: 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 bett

[PATCH 0/4] ARM: SAMSUNG: Add __init attribute to functions calling s3c_set_platdata

2012-03-01 Thread Tushar Behera
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 attr