spdif : changed the spdif device name to uniform naming

This commit is contained in:
Sun Mingjun
2014-08-14 09:31:54 +08:00
parent 059e52c528
commit fc321ca0f2
2 changed files with 3 additions and 3 deletions

View File

@@ -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";

View File

@@ -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),
},