We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bbe016 commit a4264f3Copy full SHA for a4264f3
include/zephyr/drivers/w1.h
@@ -110,7 +110,7 @@ __syscall int w1_change_bus_lock(const struct device *dev, bool lock);
110
111
static inline int z_impl_w1_change_bus_lock(const struct device *dev, bool lock)
112
{
113
- struct w1_master_data *ctrl_data = dev->data;
+ struct w1_master_data *ctrl_data = (struct w1_master_data *)dev->data;
114
115
if (lock) {
116
return k_mutex_lock(&ctrl_data->bus_lock, K_FOREVER);
0 commit comments