drm: Attempt to parse SPI devices as platform bus devices.
[platform/upstream/libdrm.git] / xf86drm.c
index 60fbc49..71ad54b 100644 (file)
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -2993,6 +2993,7 @@ static int drmParseSubsystemType(int maj, int min)
         { "/pci", DRM_BUS_PCI },
         { "/usb", DRM_BUS_USB },
         { "/platform", DRM_BUS_PLATFORM },
+        { "/spi", DRM_BUS_PLATFORM },
         { "/host1x", DRM_BUS_HOST1X },
         { "/virtio", DRM_BUS_VIRTIO },
     };