summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files/drivers/spi
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-25 21:28:34 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-25 21:28:34 +0000
commit5ea567e182f2598190108d647b348fa8d9084337 (patch)
treeb6c180227c835a2d7988242ec9371a5e6591d9d7 /target/linux/ramips/files/drivers/spi
parent09e9199225ee4efd3528c22fb4c4804b7e1539ac (diff)
ramips: remove __dev_{init,exit} annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35798 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/drivers/spi')
-rw-r--r--target/linux/ramips/files/drivers/spi/spi-ramips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/files/drivers/spi/spi-ramips.c b/target/linux/ramips/files/drivers/spi/spi-ramips.c
index e6a2d8e561..d2ceaf3b8d 100644
--- a/target/linux/ramips/files/drivers/spi/spi-ramips.c
+++ b/target/linux/ramips/files/drivers/spi/spi-ramips.c
@@ -501,7 +501,7 @@ out_put_master:
return status;
}
-static int __devexit ramips_spi_remove(struct platform_device *pdev)
+static int ramips_spi_remove(struct platform_device *pdev)
{
struct spi_master *master;
struct ramips_spi *rs;
@@ -530,7 +530,7 @@ static struct platform_driver ramips_spi_driver = {
.name = DRIVER_NAME,
.owner = THIS_MODULE,
},
- .remove = __devexit_p(ramips_spi_remove),
+ .remove = ramips_spi_remove,
};
static int __init ramips_spi_init(void)