Date:2010-05-09 01:32:44 (10 years 2 months ago)
Author:Lars C.
Commit:14ac3b011572347229f725c1d10ebf3c0d97b111
Message:jz-mmc: remove should be in __devexit section

Files: drivers/mmc/host/jz_mmc.c (2 diffs)

Change Details

drivers/mmc/host/jz_mmc.c
903903    return ret;
904904}
905905
906static int jz4740_mmc_remove(struct platform_device *pdev)
906static int __devexit jz4740_mmc_remove(struct platform_device *pdev)
907907{
908908    struct jz4740_mmc_host *host = platform_get_drvdata(pdev);
909909    struct jz4740_mmc_platform_data *pdata = host->pdata;
...... 
980980
981981static struct platform_driver jz4740_mmc_driver = {
982982    .probe = jz4740_mmc_probe,
983    .remove = jz4740_mmc_remove,
983    .remove = __devexit_p(jz4740_mmc_remove),
984984    .driver = {
985985        .name = "jz4740-mmc",
986986        .owner = THIS_MODULE,

Archive Download the corresponding diff file



interactive