mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
spdif : changed the spdif device name to uniform naming
This commit is contained in:
@@ -496,7 +496,7 @@
|
||||
};
|
||||
|
||||
spdif: spdif@10204000 {
|
||||
compatible = "rk312x-spdif";
|
||||
compatible = "rockchip-spdif";
|
||||
reg = <0x10204000 0x1000>;
|
||||
clocks = <&clk_spdif>, <&clk_gates10 9>;
|
||||
clock-names = "spdif_mclk", "spdif_hclk";
|
||||
|
||||
@@ -516,7 +516,7 @@ static int spdif_remove(struct platform_device *pdev)
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
static const struct of_device_id exynos_spdif_match[] = {
|
||||
{ .compatible = "rk312x-spdif"},
|
||||
{ .compatible = "rockchip-spdif"},
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, exynos_spdif_match);
|
||||
@@ -526,7 +526,7 @@ static struct platform_driver rockchip_spdif_driver = {
|
||||
.probe = spdif_probe,
|
||||
.remove = spdif_remove,
|
||||
.driver = {
|
||||
.name = "rk312x-spdif",
|
||||
.name = "rockchip-spdif",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(exynos_spdif_match),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user