1 /* 2 * Copyright (c) 2020 Intel Corporation. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 #include <zephyr/device.h> 9 #define DUMMY_DRIVER_NAME "dummy_driver" 10 11 typedef int (*dummy_api_open_t)(const struct device *dev); 12 13 typedef int (*dummy_api_close_t)(const struct device *dev); 14 15 struct dummy_driver_api { 16 dummy_api_open_t open; 17 dummy_api_close_t close; 18 }; 19