From 49e599b8ecd6f471c3d6c150f8d7a827ea855437 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 30 Nov 2023 02:14:01 +0000 Subject: [PATCH] add dev_is_removable() for 6.1.64 drm --- sys/dev/pci/drm/include/linux/device.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/pci/drm/include/linux/device.h b/sys/dev/pci/drm/include/linux/device.h index df113736d09..ba1e269a74d 100644 --- a/sys/dev/pci/drm/include/linux/device.h +++ b/sys/dev/pci/drm/include/linux/device.h @@ -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) "" -- 2.20.1