OSDN Git Service

Rename amlogic backend in minigbm into meson
[android-x86/external-minigbm.git] / drv.c
diff --git a/drv.c b/drv.c
index 6d6e4fc..d548448 100644 (file)
--- a/drv.c
+++ b/drv.c
@@ -23,9 +23,6 @@
 #ifdef DRV_AMDGPU
 extern const struct backend backend_amdgpu;
 #endif
-#ifdef DRV_AMLOGIC
-extern const struct backend backend_amlogic;
-#endif
 extern const struct backend backend_evdi;
 #ifdef DRV_EXYNOS
 extern const struct backend backend_exynos;
@@ -39,6 +36,9 @@ extern const struct backend backend_marvell;
 #ifdef DRV_MEDIATEK
 extern const struct backend backend_mediatek;
 #endif
+#ifdef DRV_MESON
+extern const struct backend backend_meson;
+#endif
 #ifdef DRV_MSM
 extern const struct backend backend_msm;
 #endif
@@ -73,9 +73,6 @@ static const struct backend *drv_get_backend(int fd)
 #ifdef DRV_AMDGPU
                &backend_amdgpu,
 #endif
-#ifdef DRV_AMLOGIC
-               &backend_amlogic,
-#endif
                &backend_evdi,
 #ifdef DRV_EXYNOS
                &backend_exynos,
@@ -89,6 +86,9 @@ static const struct backend *drv_get_backend(int fd)
 #ifdef DRV_MEDIATEK
                &backend_mediatek,
 #endif
+#ifdef DRV_MESON
+               &backend_meson,
+#endif
 #ifdef DRV_MSM
                &backend_msm,
 #endif