File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ Add the watchdog operations
115
115
---------------------------
116
116
117
117
All possible callbacks are defined in 'struct watchdog_ops'. You can find it
118
- explained in 'watchdog-kernel-api.txt' in this directory. start(), stop() and
118
+ explained in 'watchdog-kernel-api.txt' in this directory. start() and
119
119
owner must be set, the rest are optional. You will easily find corresponding
120
120
functions in the old driver. Note that you will now get a pointer to the
121
121
watchdog_device as a parameter to these functions, so you probably have to
Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ The list of watchdog operations is defined as::
123
123
struct module *owner;
124
124
/* mandatory operations */
125
125
int (*start)(struct watchdog_device *);
126
- int (*stop)(struct watchdog_device *);
127
126
/* optional operations */
127
+ int (*stop)(struct watchdog_device *);
128
128
int (*ping)(struct watchdog_device *);
129
129
unsigned int (*status)(struct watchdog_device *);
130
130
int (*set_timeout)(struct watchdog_device *, unsigned int);
Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ struct watchdog_governor;
37
37
*
38
38
* The watchdog_ops structure contains a list of low-level operations
39
39
* that control a watchdog device. It also contains the module that owns
40
- * these operations. The start and stop function are mandatory, all other
40
+ * these operations. The start function is mandatory, all other
41
41
* functions are optional.
42
42
*/
43
43
struct watchdog_ops {
44
44
struct module * owner ;
45
45
/* mandatory operations */
46
46
int (* start )(struct watchdog_device * );
47
- int (* stop )(struct watchdog_device * );
48
47
/* optional operations */
48
+ int (* stop )(struct watchdog_device * );
49
49
int (* ping )(struct watchdog_device * );
50
50
unsigned int (* status )(struct watchdog_device * );
51
51
int (* set_timeout )(struct watchdog_device * , unsigned int );
You can’t perform that action at this time.
0 commit comments