1 /* Copyright (c) 2019, The Linux Foundation. All rights reserved.
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
14 #include <linux/kernel.h>
15 #include <linux/module.h>
16 #include <linux/platform_device.h>
17 #include <linux/of_device.h>
18 #include <linux/qdsp6v2/apr.h>
20 static int apr_dummy_probe(struct platform_device *pdev)
25 static int apr_dummy_remove(struct platform_device *pdev)
30 static const struct of_device_id apr_dummy_dt_match[] = {
31 {.compatible = "qcom,msm-audio-apr-dummy"},
35 static struct platform_driver apr_dummy_driver = {
39 .of_match_table = apr_dummy_dt_match,
41 .probe = apr_dummy_probe,
42 .remove = apr_dummy_remove,
45 int __init apr_dummy_init(void)
47 platform_driver_register(&apr_dummy_driver);
51 void apr_dummy_exit(void)
53 platform_driver_unregister(&apr_dummy_driver);
56 MODULE_DESCRIPTION("APR dummy module driver");
57 MODULE_LICENSE("GPL v2");
58 MODULE_DEVICE_TABLE(of, apr_dummy_dt_match);