From: Greg KH <greg@kroah.com>
To: kraxel@bytesex.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] v4l: add video_device_remove_file() for 2.6.0-test3-bk
Date: Fri, 22 Aug 2003 11:16:31 -0700 [thread overview]
Message-ID: <20030822181631.GA9901@kroah.com> (raw)
Ah, and here's a patch to add video_device_remove_file() to match the
video_device_create_file() function. It's nice to be complete :)
Mind if I send this on too?
thanks,
greg k-h
# V4L: add video_device_remove_file() to match video_device_create_file()
diff -Nru a/include/linux/videodev.h b/include/linux/videodev.h
--- a/include/linux/videodev.h Fri Aug 22 11:14:15 2003
+++ b/include/linux/videodev.h Fri Aug 22 11:14:15 2003
@@ -63,6 +63,12 @@
{
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() */
reply other threads:[~2003-08-22 18:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030822181631.GA9901@kroah.com \
--to=greg@kroah.com \
--cc=kraxel@bytesex.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox