summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/drivers/include/drivers/watchdog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/include/drivers/watchdog.h b/components/drivers/include/drivers/watchdog.h
index 15ae5a1f44..5c74dc82be 100644
--- a/components/drivers/include/drivers/watchdog.h
+++ b/components/drivers/include/drivers/watchdog.h
@@ -38,7 +38,7 @@ struct rt_watchdog_ops;
struct rt_watchdog_device
{
struct rt_device parent;
- struct rt_watchdog_ops *ops;
+ const struct rt_watchdog_ops *ops;
};
typedef struct rt_watchdog_device rt_watchdog_t;