#if defined(GALLIUM_VC4)
DEFINE_LOADER_DRM_ENTRYPOINT(vc4)
-#if defined(GALLIUM_KMSRO)
-DEFINE_LOADER_DRM_ENTRYPOINT(hx8357d)
-DEFINE_LOADER_DRM_ENTRYPOINT(pl111)
-#endif
#endif
#if defined(GALLIUM_PANFROST)
DEFINE_LOADER_DRM_ENTRYPOINT(panfrost)
-#if defined(GALLIUM_KMSRO)
-DEFINE_LOADER_DRM_ENTRYPOINT(rockchip)
-DEFINE_LOADER_DRM_ENTRYPOINT(meson)
#endif
-#endif
-
-
#if defined(GALLIUM_ETNAVIV)
DEFINE_LOADER_DRM_ENTRYPOINT(imx_drm)
#if defined(GALLIUM_TEGRA)
DEFINE_LOADER_DRM_ENTRYPOINT(tegra);
#endif
+
+#if defined(GALLIUM_KMSRO)
+DEFINE_LOADER_DRM_ENTRYPOINT(hx8357d)
+DEFINE_LOADER_DRM_ENTRYPOINT(meson)
+DEFINE_LOADER_DRM_ENTRYPOINT(pl111)
+DEFINE_LOADER_DRM_ENTRYPOINT(rockchip)
+#endif
+