aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_palmld.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_palmld.c')
-rw-r--r--drivers/ata/pata_palmld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_palmld.c b/drivers/ata/pata_palmld.c
index f9f79fc04a8f..df2bb7504fc8 100644
--- a/drivers/ata/pata_palmld.c
+++ b/drivers/ata/pata_palmld.c
@@ -48,7 +48,7 @@ static struct ata_port_operations palmld_port_ops = {
48 .cable_detect = ata_cable_40wire, 48 .cable_detect = ata_cable_40wire,
49}; 49};
50 50
51static __devinit int palmld_pata_probe(struct platform_device *pdev) 51static int palmld_pata_probe(struct platform_device *pdev)
52{ 52{
53 struct ata_host *host; 53 struct ata_host *host;
54 struct ata_port *ap; 54 struct ata_port *ap;
@@ -109,7 +109,7 @@ err1:
109 return ret; 109 return ret;
110} 110}
111 111
112static __devexit int palmld_pata_remove(struct platform_device *dev) 112static int palmld_pata_remove(struct platform_device *dev)
113{ 113{
114 ata_platform_remove_one(dev); 114 ata_platform_remove_one(dev);
115 115
@@ -127,7 +127,7 @@ static struct platform_driver palmld_pata_platform_driver = {
127 .owner = THIS_MODULE, 127 .owner = THIS_MODULE,
128 }, 128 },
129 .probe = palmld_pata_probe, 129 .probe = palmld_pata_probe,
130 .remove = __devexit_p(palmld_pata_remove), 130 .remove = palmld_pata_remove,
131}; 131};
132 132
133module_platform_driver(palmld_pata_platform_driver); 133module_platform_driver(palmld_pata_platform_driver);