]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - doc/driver-model/UDM-watchdog.txt
Coding Style cleanup: replace leading SPACEs by TABs
[karo-tx-uboot.git] / doc / driver-model / UDM-watchdog.txt
index 7db328639fe63fd764519ab120002d0c31ee81d5..7948e5926053886e9797e7bfd485d50e861f602c 100644 (file)
@@ -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.