diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/dw_mmc-pci.c | 2 | ||||
-rw-r--r-- | drivers/mmc/host/dw_mmc-pltfm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/dw_mmc-pci.c b/drivers/mmc/host/dw_mmc-pci.c index edb37e9135ae..53a09cbb2c7c 100644 --- a/drivers/mmc/host/dw_mmc-pci.c +++ b/drivers/mmc/host/dw_mmc-pci.c | |||
@@ -134,7 +134,7 @@ static struct pci_driver dw_mci_pci_driver = { | |||
134 | .name = "dw_mmc_pci", | 134 | .name = "dw_mmc_pci", |
135 | .id_table = dw_mci_pci_id, | 135 | .id_table = dw_mci_pci_id, |
136 | .probe = dw_mci_pci_probe, | 136 | .probe = dw_mci_pci_probe, |
137 | .remove = dw_mci_pci_remove, | 137 | .remove = __devexit_p(dw_mci_pci_remove), |
138 | .driver = { | 138 | .driver = { |
139 | .pm = &dw_mci_pci_pmops | 139 | .pm = &dw_mci_pci_pmops |
140 | }, | 140 | }, |
diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c index 917936bee5d5..c1115df9e72c 100644 --- a/drivers/mmc/host/dw_mmc-pltfm.c +++ b/drivers/mmc/host/dw_mmc-pltfm.c | |||
@@ -119,7 +119,7 @@ static const struct of_device_id dw_mci_pltfm_match[] = { | |||
119 | MODULE_DEVICE_TABLE(of, dw_mci_pltfm_match); | 119 | MODULE_DEVICE_TABLE(of, dw_mci_pltfm_match); |
120 | 120 | ||
121 | static struct platform_driver dw_mci_pltfm_driver = { | 121 | static struct platform_driver dw_mci_pltfm_driver = { |
122 | .remove = __exit_p(dw_mci_pltfm_remove), | 122 | .remove = __devexit_p(dw_mci_pltfm_remove), |
123 | .driver = { | 123 | .driver = { |
124 | .name = "dw_mmc", | 124 | .name = "dw_mmc", |
125 | .of_match_table = of_match_ptr(dw_mci_pltfm_match), | 125 | .of_match_table = of_match_ptr(dw_mci_pltfm_match), |