forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge git://www.linux-watchdog.org/linux-watchdog
* git://www.linux-watchdog.org/linux-watchdog: watchdog: omap_wdt.c: fix the WDIOC_GETBOOTSTATUS ioctl if not implemented. watchdog: new driver for VIA chipsets watchdog: ath79_wdt: flush register writes drivers/watchdog/lantiq_wdt.c: drop iounmap for devm_ allocated data watchdog: documentation: describe nowayout in coversion-guide watchdog: documentation: update index file watchdog: Convert wm831x driver to devm_kzalloc() watchdog: add nowayout helpers to Watchdog Timer Driver Kernel API watchdog: convert drivers/watchdog/* to use module_platform_driver() watchdog: Use DEFINE_SPINLOCK() for static spinlocks watchdog: Convert Wolfson drivers to module_platform_driver
- Loading branch information
Showing
39 changed files
with
371 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
The Linux WatchDog Timer Driver Core kernel API. | ||
=============================================== | ||
Last reviewed: 22-Jul-2011 | ||
Last reviewed: 29-Nov-2011 | ||
|
||
Wim Van Sebroeck <[email protected]> | ||
|
||
|
@@ -142,6 +142,14 @@ bit-operations. The status bits that are defined are: | |
* WDOG_NO_WAY_OUT: this bit stores the nowayout setting for the watchdog. | ||
If this bit is set then the watchdog timer will not be able to stop. | ||
|
||
To set the WDOG_NO_WAY_OUT status bit (before registering your watchdog | ||
timer device) you can either: | ||
* set it statically in your watchdog_device struct with | ||
.status = WATCHDOG_NOWAYOUT_INIT_STATUS, | ||
(this will set the value the same as CONFIG_WATCHDOG_NOWAYOUT) or | ||
* use the following helper function: | ||
static inline void watchdog_set_nowayout(struct watchdog_device *wdd, int nowayout) | ||
|
||
Note: The WatchDog Timer Driver Core supports the magic close feature and | ||
the nowayout feature. To use the magic close feature you must set the | ||
WDIOF_MAGICCLOSE bit in the options field of the watchdog's info structure. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -311,18 +311,7 @@ static struct platform_driver bcm63xx_wdt = { | |
} | ||
}; | ||
|
||
static int __init bcm63xx_wdt_init(void) | ||
{ | ||
return platform_driver_register(&bcm63xx_wdt); | ||
} | ||
|
||
static void __exit bcm63xx_wdt_exit(void) | ||
{ | ||
platform_driver_unregister(&bcm63xx_wdt); | ||
} | ||
|
||
module_init(bcm63xx_wdt_init); | ||
module_exit(bcm63xx_wdt_exit); | ||
module_platform_driver(bcm63xx_wdt); | ||
|
||
MODULE_AUTHOR("Miguel Gaio <[email protected]>"); | ||
MODULE_AUTHOR("Florian Fainelli <[email protected]>"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -295,18 +295,7 @@ static struct platform_driver jz4740_wdt_driver = { | |
}, | ||
}; | ||
|
||
|
||
static int __init jz4740_wdt_init(void) | ||
{ | ||
return platform_driver_register(&jz4740_wdt_driver); | ||
} | ||
module_init(jz4740_wdt_init); | ||
|
||
static void __exit jz4740_wdt_exit(void) | ||
{ | ||
platform_driver_unregister(&jz4740_wdt_driver); | ||
} | ||
module_exit(jz4740_wdt_exit); | ||
module_platform_driver(jz4740_wdt_driver); | ||
|
||
MODULE_AUTHOR("Paul Cercueil <[email protected]>"); | ||
MODULE_DESCRIPTION("jz4740 Watchdog Driver"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.