// SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2012-2017, The Linux Foundation. All rights reserved. // Copyright (c) 2020, Stephan Gerhold #include #include #include #include "q6cvs.h" #include "q6voice-common.h" static int q6cvs_probe(struct apr_device *adev) { return q6voice_common_probe(adev, Q6VOICE_SERVICE_CVS); } static const struct of_device_id q6cvs_device_id[] = { { .compatible = "qcom,q6cvs" }, {}, }; MODULE_DEVICE_TABLE(of, q6cvs_device_id); static struct apr_driver qcom_q6cvs_driver = { .probe = q6cvs_probe, .remove = q6voice_common_remove, .callback = q6voice_common_callback, .driver = { .name = "qcom-q6cvs", .of_match_table = of_match_ptr(q6cvs_device_id), }, }; module_apr_driver(qcom_q6cvs_driver); MODULE_AUTHOR("Stephan Gerhold "); MODULE_DESCRIPTION("Q6 Core Voice Stream"); MODULE_LICENSE("GPL v2");