wdt: Update uclass to make clear that the timeout is in ms
[oweals/u-boot.git] / drivers / watchdog / wdt-uclass.c
index bb9ae808666f577bef796ab277f1ea8a8e20d6e8..8a30f024fdbf9511785ad206a28e9942953f37e9 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
-int wdt_start(struct udevice *dev, u64 timeout, ulong flags)
+int wdt_start(struct udevice *dev, u64 timeout_ms, ulong flags)
 {
        const struct wdt_ops *ops = device_get_ops(dev);
 
        if (!ops->start)
                return -ENOSYS;
 
-       return ops->start(dev, timeout, flags);
+       return ops->start(dev, timeout_ms, flags);
 }
 
 int wdt_stop(struct udevice *dev)