Răsfoiți Sursa

ARM: S3C24XX: s3c24xx_mci_set_platdata should be marked __init

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>
Arnaud Patard 15 ani în urmă
părinte
comite
1f138f1389
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      arch/arm/plat-s3c24xx/devs.c

+ 1 - 1
arch/arm/plat-s3c24xx/devs.c

@@ -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;