diff options
Diffstat (limited to 'drivers/ata/pata_at91.c')
-rw-r--r-- | drivers/ata/pata_at91.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/pata_at91.c b/drivers/ata/pata_at91.c index 53d3770a0b1b..033f3f4c20ad 100644 --- a/drivers/ata/pata_at91.c +++ b/drivers/ata/pata_at91.c | |||
@@ -27,9 +27,9 @@ | |||
27 | #include <linux/libata.h> | 27 | #include <linux/libata.h> |
28 | #include <linux/platform_device.h> | 28 | #include <linux/platform_device.h> |
29 | #include <linux/ata_platform.h> | 29 | #include <linux/ata_platform.h> |
30 | #include <linux/platform_data/atmel.h> | ||
30 | 31 | ||
31 | #include <mach/at91sam9_smc.h> | 32 | #include <mach/at91sam9_smc.h> |
32 | #include <mach/board.h> | ||
33 | #include <asm/gpio.h> | 33 | #include <asm/gpio.h> |
34 | 34 | ||
35 | #define DRV_NAME "pata_at91" | 35 | #define DRV_NAME "pata_at91" |
@@ -313,7 +313,7 @@ static struct ata_port_operations pata_at91_port_ops = { | |||
313 | .cable_detect = ata_cable_40wire, | 313 | .cable_detect = ata_cable_40wire, |
314 | }; | 314 | }; |
315 | 315 | ||
316 | static int __devinit pata_at91_probe(struct platform_device *pdev) | 316 | static int pata_at91_probe(struct platform_device *pdev) |
317 | { | 317 | { |
318 | struct at91_cf_data *board = pdev->dev.platform_data; | 318 | struct at91_cf_data *board = pdev->dev.platform_data; |
319 | struct device *dev = &pdev->dev; | 319 | struct device *dev = &pdev->dev; |
@@ -420,7 +420,7 @@ err_put: | |||
420 | return ret; | 420 | return ret; |
421 | } | 421 | } |
422 | 422 | ||
423 | static int __devexit pata_at91_remove(struct platform_device *pdev) | 423 | static int pata_at91_remove(struct platform_device *pdev) |
424 | { | 424 | { |
425 | struct ata_host *host = dev_get_drvdata(&pdev->dev); | 425 | struct ata_host *host = dev_get_drvdata(&pdev->dev); |
426 | struct at91_ide_info *info; | 426 | struct at91_ide_info *info; |
@@ -441,7 +441,7 @@ static int __devexit pata_at91_remove(struct platform_device *pdev) | |||
441 | 441 | ||
442 | static struct platform_driver pata_at91_driver = { | 442 | static struct platform_driver pata_at91_driver = { |
443 | .probe = pata_at91_probe, | 443 | .probe = pata_at91_probe, |
444 | .remove = __devexit_p(pata_at91_remove), | 444 | .remove = pata_at91_remove, |
445 | .driver = { | 445 | .driver = { |
446 | .name = DRV_NAME, | 446 | .name = DRV_NAME, |
447 | .owner = THIS_MODULE, | 447 | .owner = THIS_MODULE, |