]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mmc: dw_mmc: use __devexit_p macro for .remove()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 3 Oct 2012 13:45:23 +0000 (16:45 +0300)
committerChris Ball <cjb@laptop.org>
Wed, 7 Nov 2012 20:40:54 +0000 (15:40 -0500)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Girish K S <girish.shivananjappa@linaro.org>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc-pci.c
drivers/mmc/host/dw_mmc-pltfm.c

index edb37e9135ae3741b5bafef61633c2740e01f8f1..53a09cbb2c7c98ce3863d9c18b43a015dc6570ef 100644 (file)
@@ -134,7 +134,7 @@ static struct pci_driver dw_mci_pci_driver = {
        .name           = "dw_mmc_pci",
        .id_table       = dw_mci_pci_id,
        .probe          = dw_mci_pci_probe,
-       .remove         = dw_mci_pci_remove,
+       .remove         = __devexit_p(dw_mci_pci_remove),
        .driver         =       {
                .pm =   &dw_mci_pci_pmops
        },
index 917936bee5d50514103fbe8501a2ee40c0a4db3a..c1115df9e72c0ad78ebd7faeb2f0326682a422c3 100644 (file)
@@ -119,7 +119,7 @@ static const struct of_device_id dw_mci_pltfm_match[] = {
 MODULE_DEVICE_TABLE(of, dw_mci_pltfm_match);
 
 static struct platform_driver dw_mci_pltfm_driver = {
-       .remove         = __exit_p(dw_mci_pltfm_remove),
+       .remove         = __devexit_p(dw_mci_pltfm_remove),
        .driver         = {
                .name           = "dw_mmc",
                .of_match_table = of_match_ptr(dw_mci_pltfm_match),