summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorzhangjun <[email protected]>2017-07-31 11:27:46 +0800
committerzhangjun <[email protected]>2017-07-31 11:27:46 +0800
commit0cd49e7c4ab9531264197dd4caa72e065a9779b1 (patch)
treee6fc5bfbe367cecb8e0115498a2f1cbab373991e /components/drivers/include
parente9f1bdf2dac4dbeeed479e8256dd0449ba39a38c (diff)
parent1b7d48134ae5b739396fd98efc1272178c7627a1 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
add new bsp for risc-v
Diffstat (limited to 'components/drivers/include')
-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;