Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757399Ab3CNOK4 (ORCPT ); Thu, 14 Mar 2013 10:10:56 -0400 Received: from cm-84.215.157.11.getinternet.no ([84.215.157.11]:56881 "EHLO server.arpanet.local" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757055Ab3CNOKv (ORCPT ); Thu, 14 Mar 2013 10:10:51 -0400 From: =?UTF-8?q?Jon=20Arne=20J=C3=B8rgensen?= To: linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, hverkuil@xs4all.nl, elezegarcia@gmail.com, =?UTF-8?q?Jon=20Arne=20J=C3=B8rgensen?= Subject: [RFC V1 8/8] smi2021: Add Kconfig and Makefiles Date: Thu, 14 Mar 2013 15:07:04 +0100 Message-Id: <1363270024-12127-9-git-send-email-jonarne@jonarne.no> X-Mailer: git-send-email 1.8.1.1 In-Reply-To: <1363270024-12127-1-git-send-email-jonarne@jonarne.no> References: <1363270024-12127-1-git-send-email-jonarne@jonarne.no> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2755 Lines: 82 Signed-off-by: Jon Arne Jørgensen --- drivers/media/usb/Kconfig | 1 + drivers/media/usb/Makefile | 1 + drivers/media/usb/smi2021/Kconfig | 18 ++++++++++++++++++ drivers/media/usb/smi2021/Makefile | 12 ++++++++++++ 4 files changed, 32 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..311375f --- /dev/null +++ b/drivers/media/usb/smi2021/Kconfig @@ -0,0 +1,18 @@ +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 + +config VIDEO_SMI2021_BOOTLOADER + bool "Somagic SMI2021 Bootloader" + depends on VIDEO_SMI2021 + + ---help--- + Needed for most SMI2021 devices to work. diff --git a/drivers/media/usb/smi2021/Makefile b/drivers/media/usb/smi2021/Makefile new file mode 100644 index 0000000..4f28027 --- /dev/null +++ b/drivers/media/usb/smi2021/Makefile @@ -0,0 +1,12 @@ +smi2021-bootloader-y := smi2021_bl.o +obj-$(CONFIG_VIDEO_SMI2021_BOOTLOADER) += smi2021-bootloader.o + +smi2021-y := smi2021_main.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.1.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/