drm-shim: return device platform as specified
[mesa.git] / src / broadcom / drm-shim / v3d_noop.c
index 7c7d751285d5fd80d5e8eba94139026d1bf3acae..3caa757bb3ed1b25f85511445b8b183b8e41c2ca 100644 (file)
@@ -146,6 +146,7 @@ static ioctl_fn_t driver_ioctls[] = {
 void
 drm_shim_driver_init(void)
 {
+        shim_device.bus_type = DRM_BUS_PLATFORM;
         shim_device.driver_name = "v3d";
         shim_device.driver_ioctls = driver_ioctls;
         shim_device.driver_ioctl_count = ARRAY_SIZE(driver_ioctls);