ARM: S3C24XX: s3c24xx_mci_set_platdata should be marked __init
authorArnaud Patard <arnaud.patard@rtp-net.org>
Thu, 22 Apr 2010 08:47:45 +0000 (10:47 +0200)
committerBen Dooks <ben-linux@fluff.org>
Wed, 5 May 2010 15:07:50 +0000 (00:07 +0900)
The s3c24xx_mci_set_platdata() is init time only, so should
be marked as __init

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
[ben-linux@fluff.org: update description]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c24xx/devs.c

index 429e453..b9565c1 100644 (file)
@@ -376,7 +376,7 @@ struct platform_device s3c_device_sdi = {
 
 EXPORT_SYMBOL(s3c_device_sdi);
 
-void s3c24xx_mci_set_platdata(struct s3c24xx_mci_pdata *pdata)
+void __init s3c24xx_mci_set_platdata(struct s3c24xx_mci_pdata *pdata)
 {
        struct s3c24xx_mci_pdata *npd;