add dev_is_removable() for 6.1.64 drm
authorjsg <jsg@openbsd.org>
Thu, 30 Nov 2023 02:14:01 +0000 (02:14 +0000)
committerjsg <jsg@openbsd.org>
Thu, 30 Nov 2023 02:14:01 +0000 (02:14 +0000)
sys/dev/pci/drm/include/linux/device.h

index df11373..ba1e269 100644 (file)
@@ -112,6 +112,9 @@ dev_driver_string(struct device *dev)
        return dev->dv_cfdata->cf_driver->cd_name;
 }
 
+/* XXX return true for thunderbolt/USB4 */
+#define dev_is_removable(x)    false
+
 /* should be bus id as string, ie 0000:00:02.0 */
 #define dev_name(dev)          ""