1 /* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef VIBRATOR_PARSER_H 10 #define VIBRATOR_PARSER_H 11 12 #include "device_resource_if.h" 13 #include "hdf_base.h" 14 #include "hdf_device_desc.h" 15 #include "vibrator_driver_type.h" 16 17 int32_t GetVibratorBaseConfigData(const struct DeviceResourceNode *node, struct VibratorCfgData *config); 18 19 #endif /* VIBRATOR_PARSER_H */