linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: manjunath.hadli@ti.com (Manjunath Hadli)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 1/8] davinci: vpif: remove machine specific inclusion from driver
Date: Wed, 21 Dec 2011 19:13:34 +0530	[thread overview]
Message-ID: <1324475021-32509-2-git-send-email-manjunath.hadli@ti.com> (raw)
In-Reply-To: <1324475021-32509-1-git-send-email-manjunath.hadli@ti.com>

remove machine specific inclusion from the driver which
comes in the way of platform code consolidation.
currently was seen that these header inclusions were
not necessary.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: LMML <linux-media@vger.kernel.org>
---
 drivers/media/video/davinci/vpif.h         |    2 --
 drivers/media/video/davinci/vpif_display.c |    2 --
 include/media/davinci/vpif_types.h         |    2 ++
 sound/soc/codecs/cq93vc.c                  |    2 --
 4 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/drivers/media/video/davinci/vpif.h b/drivers/media/video/davinci/vpif.h
index 25036cb..8bcac65 100644
--- a/drivers/media/video/davinci/vpif.h
+++ b/drivers/media/video/davinci/vpif.h
@@ -18,8 +18,6 @@
 
 #include <linux/io.h>
 #include <linux/videodev2.h>
-#include <mach/hardware.h>
-#include <mach/dm646x.h>
 #include <media/davinci/vpif_types.h>
 
 /* Maximum channel allowed */
diff --git a/drivers/media/video/davinci/vpif_display.c b/drivers/media/video/davinci/vpif_display.c
index 286f029..7fa34b4 100644
--- a/drivers/media/video/davinci/vpif_display.c
+++ b/drivers/media/video/davinci/vpif_display.c
@@ -39,8 +39,6 @@
 #include <media/v4l2-ioctl.h>
 #include <media/v4l2-chip-ident.h>
 
-#include <mach/dm646x.h>
-
 #include "vpif_display.h"
 #include "vpif.h"
 
diff --git a/include/media/davinci/vpif_types.h b/include/media/davinci/vpif_types.h
index 9929b05..bd8217c 100644
--- a/include/media/davinci/vpif_types.h
+++ b/include/media/davinci/vpif_types.h
@@ -17,6 +17,8 @@
 #ifndef _VPIF_TYPES_H
 #define _VPIF_TYPES_H
 
+#include <linux/i2c.h>
+
 #define VPIF_CAPTURE_MAX_CHANNELS	2
 
 enum vpif_if_type {
diff --git a/sound/soc/codecs/cq93vc.c b/sound/soc/codecs/cq93vc.c
index 46dbfd0..ff4eb7a 100644
--- a/sound/soc/codecs/cq93vc.c
+++ b/sound/soc/codecs/cq93vc.c
@@ -38,8 +38,6 @@
 #include <sound/soc.h>
 #include <sound/initval.h>
 
-#include <mach/dm365.h>
-
 static inline unsigned int cq93vc_read(struct snd_soc_codec *codec,
 						unsigned int reg)
 {
-- 
1.6.2.4

  reply	other threads:[~2011-12-21 13:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 13:43 [PATCH v7 0/8] ARM: davinci:add support for dm644x vpbe display driver Manjunath Hadli
2011-12-21 13:43 ` Manjunath Hadli [this message]
2011-12-22 13:10   ` [PATCH v7 1/8] davinci: vpif: remove machine specific inclusion from driver Nori, Sekhar
2011-12-21 13:43 ` [PATCH v7 2/8] ARM: davinci: create new common platform header for davinci Manjunath Hadli
2012-02-20 13:31   ` Nori, Sekhar
2011-12-21 13:43 ` [PATCH v7 3/8] davinci: eliminate use of IO_ADDRESS() on sysmod Manjunath Hadli
2012-02-20 14:19   ` Nori, Sekhar
2011-12-21 13:43 ` [PATCH v7 4/8] davinci: dm644x: Replace register base value with a defined macro Manjunath Hadli
2012-02-20 14:29   ` Nori, Sekhar
2011-12-21 13:43 ` [PATCH v7 5/8] davinci: dm644x: change vpfe capture structure variables for consistency Manjunath Hadli
2011-12-21 14:55   ` Karicheri, Muralidharan
2012-01-04  7:37     ` Hadli, Manjunath
2012-02-20 18:33   ` Nori, Sekhar
2011-12-21 13:43 ` [PATCH v7 6/8] davinci: dm644x: move vpfe init from soc to board specific files Manjunath Hadli
2012-02-20 19:15   ` Nori, Sekhar
2011-12-21 13:43 ` [PATCH v7 7/8] davinci: dm644x: add support for v4l2 video display Manjunath Hadli
2012-02-20 20:23   ` Nori, Sekhar
2011-12-21 13:43 ` [PATCH v7 8/8] davinci: dm644x EVM: add support for VPBE display Manjunath Hadli

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=1324475021-32509-2-git-send-email-manjunath.hadli@ti.com \
    --to=manjunath.hadli@ti.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).