aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_mv.c')
-rw-r--r--drivers/ata/sata_mv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index 68f4fb54d627..35c6b6d09c27 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -4148,7 +4148,7 @@ err:
4148 * A platform bus SATA device has been unplugged. Perform the needed 4148 * A platform bus SATA device has been unplugged. Perform the needed
4149 * cleanup. Also called on module unload for any active devices. 4149 * cleanup. Also called on module unload for any active devices.
4150 */ 4150 */
4151static int __devexit mv_platform_remove(struct platform_device *pdev) 4151static int mv_platform_remove(struct platform_device *pdev)
4152{ 4152{
4153 struct ata_host *host = platform_get_drvdata(pdev); 4153 struct ata_host *host = platform_get_drvdata(pdev);
4154#if defined(CONFIG_HAVE_CLK) 4154#if defined(CONFIG_HAVE_CLK)
@@ -4215,7 +4215,7 @@ static int mv_platform_resume(struct platform_device *pdev)
4215#endif 4215#endif
4216 4216
4217#ifdef CONFIG_OF 4217#ifdef CONFIG_OF
4218static struct of_device_id mv_sata_dt_ids[] __devinitdata = { 4218static struct of_device_id mv_sata_dt_ids[] = {
4219 { .compatible = "marvell,orion-sata", }, 4219 { .compatible = "marvell,orion-sata", },
4220 {}, 4220 {},
4221}; 4221};
@@ -4224,7 +4224,7 @@ MODULE_DEVICE_TABLE(of, mv_sata_dt_ids);
4224 4224
4225static struct platform_driver mv_platform_driver = { 4225static struct platform_driver mv_platform_driver = {
4226 .probe = mv_platform_probe, 4226 .probe = mv_platform_probe,
4227 .remove = __devexit_p(mv_platform_remove), 4227 .remove = mv_platform_remove,
4228 .suspend = mv_platform_suspend, 4228 .suspend = mv_platform_suspend,
4229 .resume = mv_platform_resume, 4229 .resume = mv_platform_resume,
4230 .driver = { 4230 .driver = {
@@ -4429,7 +4429,7 @@ static int mv_pci_device_resume(struct pci_dev *pdev)
4429#endif 4429#endif
4430 4430
4431static int mv_platform_probe(struct platform_device *pdev); 4431static int mv_platform_probe(struct platform_device *pdev);
4432static int __devexit mv_platform_remove(struct platform_device *pdev); 4432static int mv_platform_remove(struct platform_device *pdev);
4433 4433
4434static int __init mv_init(void) 4434static int __init mv_init(void)
4435{ 4435{