aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/watchdog/ramips_wdt.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-25 21:28:34 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-25 21:28:34 +0000
commit5e1d6ce0775a2acb3832d064d7ac175d12abd01f (patch)
tree8aad35c92b052238d70510726d7cc709f66d1b45 /target/linux/ramips/files/drivers/watchdog/ramips_wdt.c
parent2c34e1aba5963b05ec810564057a8ee7a378be73 (diff)
downloadupstream-5e1d6ce0775a2acb3832d064d7ac175d12abd01f.tar.gz
upstream-5e1d6ce0775a2acb3832d064d7ac175d12abd01f.tar.bz2
upstream-5e1d6ce0775a2acb3832d064d7ac175d12abd01f.zip
ramips: remove __dev_{init,exit} annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35798
Diffstat (limited to 'target/linux/ramips/files/drivers/watchdog/ramips_wdt.c')
-rw-r--r--target/linux/ramips/files/drivers/watchdog/ramips_wdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/files/drivers/watchdog/ramips_wdt.c b/target/linux/ramips/files/drivers/watchdog/ramips_wdt.c
index 2350fab7c4..fa7e9e85ef 100644
--- a/target/linux/ramips/files/drivers/watchdog/ramips_wdt.c
+++ b/target/linux/ramips/files/drivers/watchdog/ramips_wdt.c
@@ -255,7 +255,7 @@ static struct miscdevice ramips_wdt_miscdev = {
.fops = &ramips_wdt_fops,
};
-static int __devinit ramips_wdt_probe(struct platform_device *pdev)
+static int ramips_wdt_probe(struct platform_device *pdev)
{
struct resource *res;
int err;
@@ -313,7 +313,7 @@ err_unmap:
return err;
}
-static int __devexit ramips_wdt_remove(struct platform_device *pdev)
+static int ramips_wdt_remove(struct platform_device *pdev)
{
misc_deregister(&ramips_wdt_miscdev);
clk_disable(ramips_wdt_clk);
@@ -328,7 +328,7 @@ static void ramips_wdt_shutdown(struct platform_device *pdev)
}
static struct platform_driver ramips_wdt_driver = {
- .remove = __devexit_p(ramips_wdt_remove),
+ .remove = ramips_wdt_remove,
.shutdown = ramips_wdt_shutdown,
.driver = {
.name = DRIVER_NAME,