diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-11-30 02:14:02 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2023-11-30 02:14:02 +0000 |
commit | 94ed9e7a02190478f1d5cb4056cc987f5a1653b0 (patch) | |
tree | 05b427a8e581baadab9bb8aff9d279111309ef62 | |
parent | b41cb272cd8653f0c35102710e621782c35c82a1 (diff) |
add dev_is_removable() for 6.1.64 drm
-rw-r--r-- | sys/dev/pci/drm/include/linux/device.h | 3 |
1 files changed, 3 insertions, 0 deletions
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) "" |