move struct file_operations to linux/fs.h
authorjsg <jsg@openbsd.org>
Sat, 6 Jan 2024 12:50:58 +0000 (12:50 +0000)
committerjsg <jsg@openbsd.org>
Sat, 6 Jan 2024 12:50:58 +0000 (12:50 +0000)
ok kettenis@

sys/dev/pci/drm/include/drm/drm_gem_dma_helper.h
sys/dev/pci/drm/include/linux/fs.h

index be39946..83f05e9 100644 (file)
@@ -35,7 +35,6 @@ struct drm_gem_dma_object {
 
 #define to_drm_gem_dma_obj(gem_obj) container_of(gem_obj, struct drm_gem_dma_object, base)
 
-struct file_operations { int dummy; };
 #define DEFINE_DRM_GEM_DMA_FOPS(name) struct file_operations name = {};
 
 #define DRM_GEM_DMA_DRIVER_OPS_WITH_DUMB_CREATE(x)     \
index 7f80d4c..cb164d1 100644 (file)
@@ -19,4 +19,7 @@
 struct address_space;
 struct seq_file;
 
+struct file_operations {
+};
+
 #endif