spdif : changed the spdif device name to uniform naming
authorSun Mingjun <smj@rock-chips.com>
Thu, 14 Aug 2014 01:31:54 +0000 (09:31 +0800)
committerSun Mingjun <smj@rock-chips.com>
Thu, 14 Aug 2014 01:34:18 +0000 (09:34 +0800)
arch/arm/boot/dts/rk312x.dtsi
sound/soc/rockchip/rk_spdif.c

index c099982ece381197f08ea349fc8a896962f14009..c9dd4bf6d1da13f0f82beb6475d524b2a63b5598 100755 (executable)
        };
 
        spdif: spdif@10204000 {
-               compatible = "rk312x-spdif";
+               compatible = "rockchip-spdif";
                reg = <0x10204000 0x1000>;
                clocks = <&clk_spdif>, <&clk_gates10 9>;
                clock-names = "spdif_mclk", "spdif_hclk";
index 755c596eabb1610e7558aa555474f43fd63b3783..e59ca12f974970d77723dbac682073e4b794be23 100755 (executable)
@@ -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),
        },