From ca28db3cd83d204c733aad2d04ed8a77276986e7 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Wed, 27 Feb 2019 17:30:28 +0000 Subject: [PATCH] mmc: dwmmc: Match on "rockchip,rk3288-dw-mshc" compatible This is the common denominator for rockchip compatible from RK3288 to RK3399. The other compatible are generally present in the DTS but the controllers are the same. MFC after: 1 week --- sys/dev/mmc/host/dwmmc_rockchip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/mmc/host/dwmmc_rockchip.c b/sys/dev/mmc/host/dwmmc_rockchip.c index 7a85e2d1f1dd..fe3f7c033946 100644 --- a/sys/dev/mmc/host/dwmmc_rockchip.c +++ b/sys/dev/mmc/host/dwmmc_rockchip.c @@ -49,12 +49,12 @@ __FBSDID("$FreeBSD$"); enum RKTYPE { RK2928 = 1, - RK3328, + RK3288, }; static struct ofw_compat_data compat_data[] = { {"rockchip,rk2928-dw-mshc", RK2928}, - {"rockchip,rk3328-dw-mshc", RK3328}, + {"rockchip,rk3288-dw-mshc", RK3288}, {NULL, 0}, };