inno_rk3036.c (05909cd9a0c8811731b38697af13075e8954314f) | inno_rk3036.c (66b9890634690c71910c8dd41f273e87f9bc4b4a) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Driver of Inno codec for rk3036 by Rockchip Inc. 4 * 5 * Author: Rockchip Inc. 6 * Author: Zheng ShunQian<zhengsq@rock-chips.com> 7 */ 8 --- 453 unchanged lines hidden (view full) --- 462{ 463 struct rk3036_codec_priv *priv = dev_get_drvdata(&pdev->dev); 464 465 clk_disable_unprepare(priv->pclk); 466 467 return 0; 468} 469 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Driver of Inno codec for rk3036 by Rockchip Inc. 4 * 5 * Author: Rockchip Inc. 6 * Author: Zheng ShunQian<zhengsq@rock-chips.com> 7 */ 8 --- 453 unchanged lines hidden (view full) --- 462{ 463 struct rk3036_codec_priv *priv = dev_get_drvdata(&pdev->dev); 464 465 clk_disable_unprepare(priv->pclk); 466 467 return 0; 468} 469 |
470static const struct of_device_id rk3036_codec_of_match[] = { | 470static const struct of_device_id rk3036_codec_of_match[] __maybe_unused = { |
471 { .compatible = "rockchip,rk3036-codec", }, 472 {} 473}; 474MODULE_DEVICE_TABLE(of, rk3036_codec_of_match); 475 476static struct platform_driver rk3036_codec_platform_driver = { 477 .driver = { 478 .name = "rk3036-codec-platform", 479 .of_match_table = of_match_ptr(rk3036_codec_of_match), 480 }, 481 .probe = rk3036_codec_platform_probe, 482 .remove = rk3036_codec_platform_remove, 483}; 484 485module_platform_driver(rk3036_codec_platform_driver); 486 487MODULE_AUTHOR("Rockchip Inc."); 488MODULE_DESCRIPTION("Rockchip rk3036 codec driver"); 489MODULE_LICENSE("GPL"); | 471 { .compatible = "rockchip,rk3036-codec", }, 472 {} 473}; 474MODULE_DEVICE_TABLE(of, rk3036_codec_of_match); 475 476static struct platform_driver rk3036_codec_platform_driver = { 477 .driver = { 478 .name = "rk3036-codec-platform", 479 .of_match_table = of_match_ptr(rk3036_codec_of_match), 480 }, 481 .probe = rk3036_codec_platform_probe, 482 .remove = rk3036_codec_platform_remove, 483}; 484 485module_platform_driver(rk3036_codec_platform_driver); 486 487MODULE_AUTHOR("Rockchip Inc."); 488MODULE_DESCRIPTION("Rockchip rk3036 codec driver"); 489MODULE_LICENSE("GPL"); |