diff options
-rw-r--r-- | sound/soc/rockchip/rockchip_spdif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/rockchip/rockchip_spdif.c b/sound/soc/rockchip/rockchip_spdif.c index a38a3029062c..ac72ff5055bb 100644 --- a/sound/soc/rockchip/rockchip_spdif.c +++ b/sound/soc/rockchip/rockchip_spdif.c | |||
@@ -280,7 +280,7 @@ static int rk_spdif_probe(struct platform_device *pdev) | |||
280 | int ret; | 280 | int ret; |
281 | 281 | ||
282 | match = of_match_node(rk_spdif_match, np); | 282 | match = of_match_node(rk_spdif_match, np); |
283 | if ((int) match->data == RK_SPDIF_RK3288) { | 283 | if (match->data == (void *)RK_SPDIF_RK3288) { |
284 | struct regmap *grf; | 284 | struct regmap *grf; |
285 | 285 | ||
286 | grf = syscon_regmap_lookup_by_phandle(np, "rockchip,grf"); | 286 | grf = syscon_regmap_lookup_by_phandle(np, "rockchip,grf"); |