X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=doc%2Fdriver-model%2FUDM-watchdog.txt;h=7948e5926053886e9797e7bfd485d50e861f602c;hb=93e1459641e758d2b096d3f1b39414a39bb314f8;hp=7db328639fe63fd764519ab120002d0c31ee81d5;hpb=3765b3e7bd0f8e46914d417f29cbcb0c72b1acf7;p=karo-tx-uboot.git 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.