aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_imx.c')
-rw-r--r--drivers/ata/pata_imx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_imx.c b/drivers/ata/pata_imx.c
index 7d40b526ef11..40849445a9dc 100644
--- a/drivers/ata/pata_imx.c
+++ b/drivers/ata/pata_imx.c
@@ -91,7 +91,7 @@ static void pata_imx_setup_port(struct ata_ioports *ioaddr)
91 ioaddr->command_addr = ioaddr->cmd_addr + (ATA_REG_CMD << 2); 91 ioaddr->command_addr = ioaddr->cmd_addr + (ATA_REG_CMD << 2);
92} 92}
93 93
94static int __devinit pata_imx_probe(struct platform_device *pdev) 94static int pata_imx_probe(struct platform_device *pdev)
95{ 95{
96 struct ata_host *host; 96 struct ata_host *host;
97 struct ata_port *ap; 97 struct ata_port *ap;
@@ -167,7 +167,7 @@ free_priv:
167 return -ENOMEM; 167 return -ENOMEM;
168} 168}
169 169
170static int __devexit pata_imx_remove(struct platform_device *pdev) 170static int pata_imx_remove(struct platform_device *pdev)
171{ 171{
172 struct ata_host *host = dev_get_drvdata(&pdev->dev); 172 struct ata_host *host = dev_get_drvdata(&pdev->dev);
173 struct pata_imx_priv *priv = host->private_data; 173 struct pata_imx_priv *priv = host->private_data;
@@ -225,7 +225,7 @@ static const struct dev_pm_ops pata_imx_pm_ops = {
225 225
226static struct platform_driver pata_imx_driver = { 226static struct platform_driver pata_imx_driver = {
227 .probe = pata_imx_probe, 227 .probe = pata_imx_probe,
228 .remove = __devexit_p(pata_imx_remove), 228 .remove = pata_imx_remove,
229 .driver = { 229 .driver = {
230 .name = DRV_NAME, 230 .name = DRV_NAME,
231 .owner = THIS_MODULE, 231 .owner = THIS_MODULE,