summaryrefslogtreecommitdiff
path: root/include/linux/videodev.h
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2003-09-02 19:09:33 -0700
committerPatrick Mochel <mochel@osdl.org>2003-09-02 19:09:33 -0700
commit5c0cb1ca95bd45b65e04ec46fae13b1a36fa52be (patch)
treec6d82746cf073d8049568bb8e4ab8a71a70c1317 /include/linux/videodev.h
parent32a06967e145fe7c0744391d0ff444a840a55230 (diff)
parent06cdb4a96337e96b1e81600d098efd1f36aedd0c (diff)
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-core
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() */