diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-03-09 17:03:17 +0100 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-03-10 16:25:08 +0100 |
commit | eff4c58dac1c7d90377ba5c060bab3966a3879ae (patch) | |
tree | 6950b33f7491c2ef08092ce50eb519d5125ba764 /arch/arm/plat-samsung/devs.c | |
parent | ARM: SAMSUNG: Add __init attribute to samsung_bl_set() (diff) | |
download | linux-eff4c58dac1c7d90377ba5c060bab3966a3879ae.tar.xz linux-eff4c58dac1c7d90377ba5c060bab3966a3879ae.zip |
ARM: SAMSUNG: fix __init attribute on regarding s3c_set_platdata()
s3c_set_platdata() is defined with __init attribute, hence all functions
referencing this function should also be defined with __init attribute.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/devs.c')
-rw-r--r-- | arch/arm/plat-samsung/devs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 21168eaad356..663f837a101f 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c @@ -796,7 +796,7 @@ struct platform_device s3c_device_cfcon = { .resource = s3c_cfcon_resource, }; -void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata) +void __init s3c_ide_set_platdata(struct s3c_ide_platdata *pdata) { s3c_set_platdata(pdata, sizeof(struct s3c_ide_platdata), &s3c_device_cfcon); @@ -1076,7 +1076,7 @@ struct platform_device s3c64xx_device_onenand1 = { .resource = s3c64xx_onenand1_resources, }; -void s3c64xx_onenand1_set_platdata(struct onenand_platform_data *pdata) +void __init s3c64xx_onenand1_set_platdata(struct onenand_platform_data *pdata) { s3c_set_platdata(pdata, sizeof(struct onenand_platform_data), &s3c64xx_device_onenand1); |