All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: linux-media@vger.kernel.org
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>,
	Kamil Debski <k.debski@samsung.com>,
	Fabio Estevam <fabio.estevam@freescale.com>,
	Hans Verkuil <hverkuil@xs4all.nl>,
	Nicolas Dufresne <nicolas.dufresne@collabora.com>,
	kernel@pengutronix.de, Philipp Zabel <p.zabel@pengutronix.de>
Subject: [PATCH 1/8] [media] coda: move coda driver into its own directory
Date: Wed, 23 Jul 2014 17:28:38 +0200	[thread overview]
Message-ID: <1406129325-10771-2-git-send-email-p.zabel@pengutronix.de> (raw)
In-Reply-To: <1406129325-10771-1-git-send-email-p.zabel@pengutronix.de>

The coda driver has grown significantly and will continue to grow.
Move the coda driver into its own directory so it can be split.
Rename coda.h to coda_regs.h as it contains the register defines.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 drivers/media/platform/Makefile                       | 2 +-
 drivers/media/platform/coda/Makefile                  | 3 +++
 drivers/media/platform/{coda.c => coda/coda-common.c} | 2 +-
 drivers/media/platform/{coda.h => coda/coda_regs.h}   | 0
 4 files changed, 5 insertions(+), 2 deletions(-)
 create mode 100644 drivers/media/platform/coda/Makefile
 rename drivers/media/platform/{coda.c => coda/coda-common.c} (99%)
 rename drivers/media/platform/{coda.h => coda/coda_regs.h} (100%)

diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile
index e5269da..4ac4c91 100644
--- a/drivers/media/platform/Makefile
+++ b/drivers/media/platform/Makefile
@@ -22,7 +22,7 @@ obj-$(CONFIG_VIDEO_MEM2MEM_TESTDEV) += mem2mem_testdev.o
 obj-$(CONFIG_VIDEO_TI_VPE)		+= ti-vpe/
 
 obj-$(CONFIG_VIDEO_MX2_EMMAPRP)		+= mx2_emmaprp.o
-obj-$(CONFIG_VIDEO_CODA) 		+= coda.o
+obj-$(CONFIG_VIDEO_CODA) 		+= coda/
 
 obj-$(CONFIG_VIDEO_SH_VEU)		+= sh_veu.o
 
diff --git a/drivers/media/platform/coda/Makefile b/drivers/media/platform/coda/Makefile
new file mode 100644
index 0000000..13d9ad6
--- /dev/null
+++ b/drivers/media/platform/coda/Makefile
@@ -0,0 +1,3 @@
+coda-objs := coda-common.o
+
+obj-$(CONFIG_VIDEO_CODA) += coda.o
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda/coda-common.c
similarity index 99%
rename from drivers/media/platform/coda.c
rename to drivers/media/platform/coda/coda-common.c
index 3edbef6..1f68201 100644
--- a/drivers/media/platform/coda.c
+++ b/drivers/media/platform/coda/coda-common.c
@@ -38,7 +38,7 @@
 #include <media/videobuf2-core.h>
 #include <media/videobuf2-dma-contig.h>
 
-#include "coda.h"
+#include "coda_regs.h"
 
 #define CODA_NAME		"coda"
 
diff --git a/drivers/media/platform/coda.h b/drivers/media/platform/coda/coda_regs.h
similarity index 100%
rename from drivers/media/platform/coda.h
rename to drivers/media/platform/coda/coda_regs.h
-- 
2.0.1


  reply	other threads:[~2014-07-23 15:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23 15:28 [PATCH 0/8] Split CODA driver into multiple files Philipp Zabel
2014-07-23 15:28 ` Philipp Zabel [this message]
2014-07-23 15:28 ` [PATCH 2/8] [media] coda: move defines, enums, and structs into shared header Philipp Zabel
2014-07-23 15:28 ` [PATCH 3/8] [media] coda: add context ops Philipp Zabel
2014-07-23 15:28 ` [PATCH 4/8] [media] coda: move BIT processor command execution out of pic_run_work Philipp Zabel
2014-07-23 15:28 ` [PATCH 5/8] [media] coda: add coda_bit_stream_set_flag helper Philipp Zabel
2014-08-05 15:39   ` Kamil Debski
2014-07-23 15:28 ` [PATCH 6/8] [media] coda: move per-instance buffer allocation and cleanup Philipp Zabel
2014-07-23 15:28 ` [PATCH 7/8] [media] coda: move H.264 helper function into separate file Philipp Zabel
2014-07-23 15:28 ` [PATCH 8/8] [media] coda: move BIT specific functions " Philipp Zabel
2014-08-05 15:36   ` Kamil Debski
2014-08-05 16:30     ` Philipp Zabel

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=1406129325-10771-2-git-send-email-p.zabel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=fabio.estevam@freescale.com \
    --cc=hverkuil@xs4all.nl \
    --cc=k.debski@samsung.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-media@vger.kernel.org \
    --cc=m.chehab@samsung.com \
    --cc=nicolas.dufresne@collabora.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.