summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/files/drivers/ata
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-24 18:08:03 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-24 18:08:03 +0000
commit4a870e58a692c717ca3e4fd6d3f9dbb010cefbfb (patch)
tree9b40375082bd9f5c27fbea57fb46c2f9846eb213 /target/linux/adm5120/files/drivers/ata
parent38db78f9aad26b248597cf21babac7a08763b3b8 (diff)
adm5120: remove __dev{init,exit} annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35768 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/files/drivers/ata')
-rw-r--r--target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c b/target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c
index 71f8ad6b89..92a4d1390d 100644
--- a/target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c
+++ b/target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c
@@ -148,7 +148,7 @@ static void rb153_pata_setup_port(struct ata_host *ah)
ap->ioaddr.data_addr = info->iobase + RB153_CF_REG_DATA;
}
-static __devinit int rb153_pata_driver_probe(struct platform_device *pdev)
+static int rb153_pata_driver_probe(struct platform_device *pdev)
{
unsigned int irq;
int gpio;
@@ -222,7 +222,7 @@ err_free_gpio:
return ret;
}
-static __devexit int rb153_pata_driver_remove(struct platform_device *pdev)
+static int rb153_pata_driver_remove(struct platform_device *pdev)
{
struct ata_host *ah = platform_get_drvdata(pdev);
struct rb153_cf_info *info = ah->private_data;
@@ -235,7 +235,7 @@ static __devexit int rb153_pata_driver_remove(struct platform_device *pdev)
static struct platform_driver rb153_pata_platform_driver = {
.probe = rb153_pata_driver_probe,
- .remove = __devexit_p(rb153_pata_driver_remove),
+ .remove = rb153_pata_driver_remove,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,