diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/watchdog/watchdog-kernel-api.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/watchdog/watchdog-kernel-api.txt b/Documentation/watchdog/watchdog-kernel-api.txt index ce1fa22aa70b..08d34e11bc54 100644 --- a/Documentation/watchdog/watchdog-kernel-api.txt +++ b/Documentation/watchdog/watchdog-kernel-api.txt | |||
@@ -50,6 +50,7 @@ struct watchdog_device { | |||
50 | unsigned int min_timeout; | 50 | unsigned int min_timeout; |
51 | unsigned int max_timeout; | 51 | unsigned int max_timeout; |
52 | void *driver_data; | 52 | void *driver_data; |
53 | struct mutex lock; | ||
53 | unsigned long status; | 54 | unsigned long status; |
54 | }; | 55 | }; |
55 | 56 | ||
@@ -74,6 +75,7 @@ It contains following fields: | |||
74 | * driver_data: a pointer to the drivers private data of a watchdog device. | 75 | * driver_data: a pointer to the drivers private data of a watchdog device. |
75 | This data should only be accessed via the watchdog_set_drvdata and | 76 | This data should only be accessed via the watchdog_set_drvdata and |
76 | watchdog_get_drvdata routines. | 77 | watchdog_get_drvdata routines. |
78 | * lock: Mutex for WatchDog Timer Driver Core internal use only. | ||
77 | * status: this field contains a number of status bits that give extra | 79 | * status: this field contains a number of status bits that give extra |
78 | information about the status of the device (Like: is the watchdog timer | 80 | information about the status of the device (Like: is the watchdog timer |
79 | running/active, is the nowayout bit set, is the device opened via | 81 | running/active, is the nowayout bit set, is the device opened via |