This change will cause section mismatch. If added,Struct soc_code_dev_adau1371 in bf5xx-adau1371.c also need to be added __exit and __init
Cliff >-----Original Message----- >From: [email protected] >[mailto:[email protected]] On >Behalf Of [email protected] >Sent: Friday, September 25, 2009 11:43 AM >To: [email protected] >Subject: [Linux-kernel-commits] [7457] >trunk/sound/soc/codecs/adau1371.c: adau1371: use proper dev >markings on probe/remove functions > > Revision > 7457 ><http://blackfin.uclinux.org/gf/project/linux-kernel/scmsvn/?ac >tion=browse&path=/&view=rev&root=linux-kernel&revision=7457> > Author > vapier <http://blackfin.uclinux.org/gf/user/vapier/> > Date > 2009-09-24 23:42:48 -0400 (Thu, 24 Sep 2009) > > >Log Message > >adau1371: use proper dev markings on probe/remove functions > >Modified Paths > > >* trunk/sound/soc/codecs/adau1371.c > > >Diff > > >Modified: trunk/sound/soc/codecs/adau1371.c (7456 => 7457) > > >--- trunk/sound/soc/codecs/adau1371.c 2009-09-25 03:40:38 UTC >(rev 7456) >+++ trunk/sound/soc/codecs/adau1371.c 2009-09-25 03:42:48 UTC >(rev 7457) >@@ -1024,7 +1024,7 @@ > } > #endif > >-static int adau1371_probe(struct platform_device *pdev) >+static int __devinit adau1371_probe(struct platform_device *pdev) > { > struct snd_soc_device *socdev = platform_get_drvdata(pdev); > struct adau1371_setup_data *setup; >@@ -1065,7 +1065,7 @@ > } > > /* remove everything here */ >-static int adau1371_remove(struct platform_device *pdev) >+static int __devexit adau1371_remove(struct platform_device *pdev) > { > struct snd_soc_device *socdev = platform_get_drvdata(pdev); > struct snd_soc_codec *codec = socdev->card->codec; > > _______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
