summaryrefslogtreecommitdiffstats
path: root/doc/driver-model/UDM-watchdog.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/driver-model/UDM-watchdog.txt')
-rw-r--r--doc/driver-model/UDM-watchdog.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/driver-model/UDM-watchdog.txt b/doc/driver-model/UDM-watchdog.txt
index 7db328639f..7948e59260 100644
--- a/doc/driver-model/UDM-watchdog.txt
+++ b/doc/driver-model/UDM-watchdog.txt
@@ -41,13 +41,13 @@ II) Approach
In the UDM each watchdog driver would register itself by a function
int watchdog_device_register(struct instance *i,
- const struct watchdog_device_ops *o);
+ const struct watchdog_device_ops *o);
The structure being defined as follows:
struct watchdog_device_ops {
- int (*disable)(struct instance *i);
- void (*reset)(struct instance *i);
+ int (*disable)(struct instance *i);
+ void (*reset)(struct instance *i);
};
The watchdog_init() function will be dissolved into probe() function.
OpenPOWER on IntegriCloud