diff options
Diffstat (limited to 'drivers/ata/pata_rb532_cf.c')
-rw-r--r-- | drivers/ata/pata_rb532_cf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_rb532_cf.c b/drivers/ata/pata_rb532_cf.c index 9417101bd5ca..3c5eb8fa6bd1 100644 --- a/drivers/ata/pata_rb532_cf.c +++ b/drivers/ata/pata_rb532_cf.c | |||
@@ -102,7 +102,7 @@ static void rb532_pata_setup_ports(struct ata_host *ah) | |||
102 | ap->ioaddr.error_addr = info->iobase + RB500_CF_REG_ERR; | 102 | ap->ioaddr.error_addr = info->iobase + RB500_CF_REG_ERR; |
103 | } | 103 | } |
104 | 104 | ||
105 | static __devinit int rb532_pata_driver_probe(struct platform_device *pdev) | 105 | static int rb532_pata_driver_probe(struct platform_device *pdev) |
106 | { | 106 | { |
107 | int irq; | 107 | int irq; |
108 | int gpio; | 108 | int gpio; |
@@ -177,7 +177,7 @@ err_free_gpio: | |||
177 | return ret; | 177 | return ret; |
178 | } | 178 | } |
179 | 179 | ||
180 | static __devexit int rb532_pata_driver_remove(struct platform_device *pdev) | 180 | static int rb532_pata_driver_remove(struct platform_device *pdev) |
181 | { | 181 | { |
182 | struct ata_host *ah = platform_get_drvdata(pdev); | 182 | struct ata_host *ah = platform_get_drvdata(pdev); |
183 | struct rb532_cf_info *info = ah->private_data; | 183 | struct rb532_cf_info *info = ah->private_data; |
@@ -190,7 +190,7 @@ static __devexit int rb532_pata_driver_remove(struct platform_device *pdev) | |||
190 | 190 | ||
191 | static struct platform_driver rb532_pata_platform_driver = { | 191 | static struct platform_driver rb532_pata_platform_driver = { |
192 | .probe = rb532_pata_driver_probe, | 192 | .probe = rb532_pata_driver_probe, |
193 | .remove = __devexit_p(rb532_pata_driver_remove), | 193 | .remove = rb532_pata_driver_remove, |
194 | .driver = { | 194 | .driver = { |
195 | .name = DRV_NAME, | 195 | .name = DRV_NAME, |
196 | .owner = THIS_MODULE, | 196 | .owner = THIS_MODULE, |