From: Mike Frysinger <vapier@gentoo.org>
To: v4l-dvb-maintainer@linuxtv.org, akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] linux/video_{de,en}coder.h: cleanup for userspace
Date: Sun, 26 Oct 2008 06:47:44 -0400 [thread overview]
Message-ID: <1225018064-3312-1-git-send-email-vapier@gentoo.org> (raw)
Make sure the linux/video_{de,en}coder.h header files include other header
files that they use (for types and structures).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
include/linux/video_decoder.h | 3 +++
include/linux/video_encoder.h | 2 ++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/linux/video_decoder.h b/include/linux/video_decoder.h
index 121e26d..25a191a 100644
--- a/include/linux/video_decoder.h
+++ b/include/linux/video_decoder.h
@@ -1,6 +1,9 @@
#ifndef _LINUX_VIDEO_DECODER_H
#define _LINUX_VIDEO_DECODER_H
+#include <linux/types.h>
+#include <linux/videodev.h>
+
#define HAVE_VIDEO_DECODER 1
struct video_decoder_capability { /* this name is too long */
diff --git a/include/linux/video_encoder.h b/include/linux/video_encoder.h
index 4b0e690..b7b6423 100644
--- a/include/linux/video_encoder.h
+++ b/include/linux/video_encoder.h
@@ -1,6 +1,8 @@
#ifndef _LINUX_VIDEO_ENCODER_H
#define _LINUX_VIDEO_ENCODER_H
+#include <linux/types.h>
+
struct video_encoder_capability { /* this name is too long */
__u32 flags;
#define VIDEO_ENCODER_PAL 1 /* can encode PAL signal */
--
1.6.0.2
next reply other threads:[~2008-10-26 10:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-26 10:47 Mike Frysinger [this message]
2008-10-28 3:31 ` Andrew Morton
2008-10-28 3:34 ` Mike Frysinger
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=1225018064-3312-1-git-send-email-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=v4l-dvb-maintainer@linuxtv.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
all inboxes | Powered by JetHome®