'samsung,mfc-v5' compatible string was getting used for both S5pv210 and Exynos4 SoC. Based on SoC-specific, modify existing 'samsung,mfc-v5' compatible to 'samsung,s5pv210-mfc' and add its variant data. Add new compatible for Exynos4. Signed-off-by: Aakarsh Jain <aakarsh.jain@xxxxxxxxxxx> --- drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c index d13770058e63..f8476bc3a5ce 100644 --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c @@ -1708,7 +1708,10 @@ static struct s5p_mfc_variant mfc_drvdata_v12 = { static const struct of_device_id exynos_mfc_match[] = { { - .compatible = "samsung,mfc-v5", + .compatible = "samsung,s5pv210-mfc", + .data = &mfc_drvdata_v5, + }, { + .compatible = "samsung,exynos4-mfc", .data = &mfc_drvdata_v5, }, { .compatible = "samsung,exynos5250-mfc", -- 2.49.0