From: Lad Prabhakar <prabhakar.csengg@gmail.com>
To: DLOS <davinci-linux-open-source@linux.davincidsp.com>,
LMML <linux-media@vger.kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Mauro Carvalho Chehab <mchehab@redhat.com>,
Hans Verkuil <hans.verkuil@cisco.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
"Lad, Prabhakar" <prabhakar.csengg@gmail.com>
Subject: [PATCH 4/7] media: davinci: vpif_capture: remove unwanted header inclusion and sort them alphabetically
Date: Thu, 16 May 2013 18:28:19 +0530 [thread overview]
Message-ID: <1368709102-2854-5-git-send-email-prabhakar.csengg@gmail.com> (raw)
In-Reply-To: <1368709102-2854-1-git-send-email-prabhakar.csengg@gmail.com>
From: Lad, Prabhakar <prabhakar.csengg@gmail.com>
This patch removes unwanted header inclusion and sorts them alphabetically
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
---
drivers/media/platform/davinci/vpif_capture.c | 21 +++++----------------
drivers/media/platform/davinci/vpif_capture.h | 6 ++----
2 files changed, 7 insertions(+), 20 deletions(-)
diff --git a/drivers/media/platform/davinci/vpif_capture.c b/drivers/media/platform/davinci/vpif_capture.c
index 5f98df1..c26b6e4 100644
--- a/drivers/media/platform/davinci/vpif_capture.c
+++ b/drivers/media/platform/davinci/vpif_capture.c
@@ -18,28 +18,17 @@
* TODO : add support for VBI & HBI data service
* add static buffer allocation
*/
-#include <linux/kernel.h>
-#include <linux/init.h>
-#include <linux/module.h>
-#include <linux/errno.h>
-#include <linux/fs.h>
-#include <linux/mm.h>
+
#include <linux/interrupt.h>
-#include <linux/workqueue.h>
-#include <linux/string.h>
-#include <linux/videodev2.h>
-#include <linux/wait.h>
-#include <linux/time.h>
-#include <linux/i2c.h>
+#include <linux/module.h>
#include <linux/platform_device.h>
-#include <linux/io.h>
#include <linux/slab.h>
-#include <media/v4l2-device.h>
-#include <media/v4l2-ioctl.h>
+
#include <media/v4l2-chip-ident.h>
+#include <media/v4l2-ioctl.h>
-#include "vpif_capture.h"
#include "vpif.h"
+#include "vpif_capture.h"
MODULE_DESCRIPTION("TI DaVinci VPIF Capture driver");
MODULE_LICENSE("GPL");
diff --git a/drivers/media/platform/davinci/vpif_capture.h b/drivers/media/platform/davinci/vpif_capture.h
index 3d3c1e5..517e7d1 100644
--- a/drivers/media/platform/davinci/vpif_capture.h
+++ b/drivers/media/platform/davinci/vpif_capture.h
@@ -22,11 +22,9 @@
#ifdef __KERNEL__
/* Header files */
-#include <linux/videodev2.h>
-#include <media/v4l2-common.h>
-#include <media/v4l2-device.h>
-#include <media/videobuf2-dma-contig.h>
#include <media/davinci/vpif_types.h>
+#include <media/videobuf2-dma-contig.h>
+#include <media/v4l2-device.h>
#include "vpif.h"
--
1.7.4.1
next prev parent reply other threads:[~2013-05-16 12:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-16 12:58 [PATCH 0/7] media: davinci: vpif trivial cleanup Lad Prabhakar
2013-05-16 12:58 ` [PATCH 1/7] media: davinci: vpif: remove unwanted header includes Lad Prabhakar
2013-05-16 13:02 ` Laurent Pinchart
2013-05-17 5:10 ` Prabhakar Lad
2013-05-17 9:58 ` Laurent Pinchart
2013-05-16 12:58 ` [PATCH 2/7] media: davinci: vpif: Convert to devm_* api Lad Prabhakar
2013-05-16 12:58 ` [PATCH 3/7] media: davinci: vpif: remove unnecessary braces around defines Lad Prabhakar
2013-05-16 12:58 ` Lad Prabhakar [this message]
2013-05-16 12:58 ` [PATCH 5/7] media: davinci: vpif_capture: Convert to devm_* api Lad Prabhakar
2013-05-16 12:58 ` [PATCH 6/7] media: davinci: vpif_display: remove unwanted header inclusion and sort them alphabetically Lad Prabhakar
2013-05-16 12:58 ` [PATCH 7/7] media: davinci: vpif_display: Convert to devm_* api Lad Prabhakar
2013-05-23 9:38 ` [PATCH 0/7] media: davinci: vpif trivial cleanup Hans Verkuil
2013-05-23 9:40 ` Prabhakar Lad
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=1368709102-2854-5-git-send-email-prabhakar.csengg@gmail.com \
--to=prabhakar.csengg@gmail.com \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=hans.verkuil@cisco.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
/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