From: jsg Date: Thu, 30 Nov 2023 02:14:01 +0000 (+0000) Subject: add dev_is_removable() for 6.1.64 drm X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=49e599b8ecd6f471c3d6c150f8d7a827ea855437;p=openbsd add dev_is_removable() for 6.1.64 drm --- 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) ""