summaryrefslogtreecommitdiff
path: root/include/linux/videodev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/videodev.h')
-rw-r--r--include/linux/videodev.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/videodev.h b/include/linux/videodev.h
index 9e7dacaff115..8abbd9e9e596 100644
--- a/include/linux/videodev.h
+++ b/include/linux/videodev.h
@@ -63,6 +63,12 @@ video_device_create_file(struct video_device *vfd,
{
class_device_create_file(&vfd->class_dev, attr);
}
+static inline void
+video_device_remove_file(struct video_device *vfd,
+ struct class_device_attribute *attr)
+{
+ class_device_remove_file(&vfd->class_dev, attr);
+}
/* helper functions to alloc / release struct video_device, the
later can be used for video_device->release() */