Linux Media Controller development
 help / color / mirror / Atom feed
From: "Jon Arne Jørgensen" <jonarne@jonarne.no>
To: linux-media@vger.kernel.org
Cc: jonjon.arnearne@gmail.com, linux-kernel@vger.kernel.org,
	hverkuil@xs4all.nl, elezegarcia@gmail.com, mkrufky@linuxtv.org,
	mchehab@redhat.com, bjorn@mork.no
Subject: [RFC V2 3/3] [smi2021] Add smi2021 driver to buildsystem
Date: Thu, 25 Apr 2013 21:10:20 +0200	[thread overview]
Message-ID: <1366917020-18217-4-git-send-email-jonarne@jonarne.no> (raw)
In-Reply-To: <1366917020-18217-1-git-send-email-jonarne@jonarne.no>


Signed-off-by: Jon Arne Jørgensen <jonarne@jonarne.no>
---
 drivers/media/usb/Kconfig          |  1 +
 drivers/media/usb/Makefile         |  1 +
 drivers/media/usb/smi2021/Kconfig  | 11 +++++++++++
 drivers/media/usb/smi2021/Makefile | 10 ++++++++++
 4 files changed, 23 insertions(+)
 create mode 100644 drivers/media/usb/smi2021/Kconfig
 create mode 100644 drivers/media/usb/smi2021/Makefile

diff --git a/drivers/media/usb/Kconfig b/drivers/media/usb/Kconfig
index 0a7d520..dec0383 100644
--- a/drivers/media/usb/Kconfig
+++ b/drivers/media/usb/Kconfig
@@ -26,6 +26,7 @@ source "drivers/media/usb/hdpvr/Kconfig"
 source "drivers/media/usb/tlg2300/Kconfig"
 source "drivers/media/usb/usbvision/Kconfig"
 source "drivers/media/usb/stk1160/Kconfig"
+source "drivers/media/usb/smi2021/Kconfig"
 endif
 
 if (MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT)
diff --git a/drivers/media/usb/Makefile b/drivers/media/usb/Makefile
index 7f51d7e..932a6ba 100644
--- a/drivers/media/usb/Makefile
+++ b/drivers/media/usb/Makefile
@@ -20,3 +20,4 @@ obj-$(CONFIG_VIDEO_STK1160) += stk1160/
 obj-$(CONFIG_VIDEO_CX231XX) += cx231xx/
 obj-$(CONFIG_VIDEO_TM6000) += tm6000/
 obj-$(CONFIG_VIDEO_EM28XX) += em28xx/
+obj-$(CONFIG_VIDEO_SMI2021) += smi2021/
diff --git a/drivers/media/usb/smi2021/Kconfig b/drivers/media/usb/smi2021/Kconfig
new file mode 100644
index 0000000..6a6fb8a
--- /dev/null
+++ b/drivers/media/usb/smi2021/Kconfig
@@ -0,0 +1,11 @@
+config VIDEO_SMI2021
+	tristate "Somagic SMI2021 USB video/audio capture support"
+	depends on VIDEO_DEV && I2C && SND && USB
+	select VIDEOBUF2_VMALLOC
+	select VIDEO_SAA711X
+	select SND_PCM
+	help
+	  This is a video4linux driver for SMI2021 based video capture devices.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called smi2021
diff --git a/drivers/media/usb/smi2021/Makefile b/drivers/media/usb/smi2021/Makefile
new file mode 100644
index 0000000..8a62f02
--- /dev/null
+++ b/drivers/media/usb/smi2021/Makefile
@@ -0,0 +1,10 @@
+smi2021-y := smi2021_main.o		\
+	     smi2021_bootloader.o	\
+	     smi2021_v4l2.o		\
+	     smi2021_video.o		\
+	     smi2021_i2c.o		\
+	     smi2021_audio.o		\
+
+obj-$(CONFIG_VIDEO_SMI2021) += smi2021.o
+
+ccflags-y += -Idrivers/media/i2c
-- 
1.8.2.1


      parent reply	other threads:[~2013-04-25 19:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25 19:10 [RFC V2 0/3] Add a driver for Somagic smi2021 Jon Arne Jørgensen
2013-04-25 19:10 ` [RFC V2 1/3] [smi2021] Add gm7113c chip to the saa7115 driver Jon Arne Jørgensen
2013-04-25 20:13   ` Mauro Carvalho Chehab
2013-04-25 20:33     ` Jon Arne Jørgensen
2013-04-25 20:39       ` Mauro Carvalho Chehab
2013-04-25 20:36     ` Mauro Carvalho Chehab
2013-04-25 21:05       ` Jon Arne Jørgensen
2013-04-25 19:10 ` [RFC V2 2/3] [smi2021] This is the smi2021 driver Jon Arne Jørgensen
2013-04-25 19:10 ` Jon Arne Jørgensen [this message]

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=1366917020-18217-4-git-send-email-jonarne@jonarne.no \
    --to=jonarne@jonarne.no \
    --cc=bjorn@mork.no \
    --cc=elezegarcia@gmail.com \
    --cc=hverkuil@xs4all.nl \
    --cc=jonjon.arnearne@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@redhat.com \
    --cc=mkrufky@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