Changeset 29705


Ignore:
Timestamp:
2012-01-11T10:14:11+01:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: ar71xx_wdt: add shutdown handler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/watchdog/ar71xx_wdt.c

    r27102 r29705  
    270270} 
    271271 
     272static void ar71xx_wdt_shutdown(struct platform_device *pdev) 
     273{ 
     274        ar71xx_wdt_disable(); 
     275} 
     276 
    272277static struct platform_driver ar71xx_wdt_driver = { 
    273278        .probe          = ar71xx_wdt_probe, 
    274279        .remove         = __devexit_p(ar71xx_wdt_remove), 
     280        .shutdown       = ar71xx_wdt_shutdown, 
    275281        .driver         = { 
    276282                .name   = DRV_NAME, 
Note: See TracChangeset for help on using the changeset viewer.