aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/jz4740_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/jz4740_wdt.c')
-rw-r--r--drivers/watchdog/jz4740_wdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c
index 978615ef899..a61408fa0c9 100644
--- a/drivers/watchdog/jz4740_wdt.c
+++ b/drivers/watchdog/jz4740_wdt.c
@@ -144,7 +144,7 @@ static const struct watchdog_ops jz4740_wdt_ops = {
144 .set_timeout = jz4740_wdt_set_timeout, 144 .set_timeout = jz4740_wdt_set_timeout,
145}; 145};
146 146
147static int __devinit jz4740_wdt_probe(struct platform_device *pdev) 147static int jz4740_wdt_probe(struct platform_device *pdev)
148{ 148{
149 struct jz4740_wdt_drvdata *drvdata; 149 struct jz4740_wdt_drvdata *drvdata;
150 struct watchdog_device *jz4740_wdt; 150 struct watchdog_device *jz4740_wdt;
@@ -197,7 +197,7 @@ err_out:
197 return ret; 197 return ret;
198} 198}
199 199
200static int __devexit jz4740_wdt_remove(struct platform_device *pdev) 200static int jz4740_wdt_remove(struct platform_device *pdev)
201{ 201{
202 struct jz4740_wdt_drvdata *drvdata = platform_get_drvdata(pdev); 202 struct jz4740_wdt_drvdata *drvdata = platform_get_drvdata(pdev);
203 203
@@ -210,7 +210,7 @@ static int __devexit jz4740_wdt_remove(struct platform_device *pdev)
210 210
211static struct platform_driver jz4740_wdt_driver = { 211static struct platform_driver jz4740_wdt_driver = {
212 .probe = jz4740_wdt_probe, 212 .probe = jz4740_wdt_probe,
213 .remove = __devexit_p(jz4740_wdt_remove), 213 .remove = jz4740_wdt_remove,
214 .driver = { 214 .driver = {
215 .name = "jz4740-wdt", 215 .name = "jz4740-wdt",
216 .owner = THIS_MODULE, 216 .owner = THIS_MODULE,