There was an error while loading. Please reload this page.
1 parent fe49ab1 commit 6486a37Copy full SHA for 6486a37
1 file changed
drivers/haptics/haptics_handlers.c
@@ -4,12 +4,12 @@
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
-#include <zephyr/syscall_handler.h>
+#include <zephyr/internal/syscall_handler.h>
8
#include <zephyr/drivers/haptics.h>
9
10
static inline int z_vrfy_haptics_start_output(const struct device *dev)
11
{
12
- Z_OOPS(Z_SYSCALL_DRIVER_HAPTICS(dev, start_output));
+ K_OOPS(K_SYSCALL_DRIVER_HAPTICS(dev, start_output));
13
14
return z_impl_haptics_start_output(dev);
15
}
@@ -18,7 +18,7 @@ static inline int z_vrfy_haptics_start_output(const struct device *dev)
18
19
static inline int z_vrfy_haptics_stop_output(const struct device *dev)
20
21
- Z_OOPS(Z_SYSCALL_DRIVER_HAPTICS(dev, stop_output));
+ K_OOPS(K_SYSCALL_DRIVER_HAPTICS(dev, stop_output));
22
23
return z_impl_haptics_stop_output(dev);
24
0 commit comments