From patchwork Thu Jun 5 20:48:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 4308711 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 300259F326 for ; Thu, 5 Jun 2014 20:49:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6DCB520256 for ; Thu, 5 Jun 2014 20:49:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9D0BF20220 for ; Thu, 5 Jun 2014 20:49:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752495AbaFEUt1 (ORCPT ); Thu, 5 Jun 2014 16:49:27 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:49482 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752279AbaFEUtE (ORCPT ); Thu, 5 Jun 2014 16:49:04 -0400 Received: from wuerfel.lan (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue004) with ESMTP (Nemesis) id 0MVqDE-1XGoFB2cWm-00X15l; Thu, 05 Jun 2014 22:48:29 +0200 From: Arnd Bergmann To: Greg Kroah-Hartman Cc: devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Luca Risolia , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH 3/5] staging: sn9c102 depends on USB Date: Thu, 5 Jun 2014 22:48:13 +0200 Message-Id: <1402001295-1980118-4-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1402001295-1980118-1-git-send-email-arnd@arndb.de> References: <1402001295-1980118-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:/guZi+gpUFkZGGvbW+OQELeQ0q68jXCrfGVBCtFVXDP DTr0heTRiBnclL2QMYGVlDdlVeBl+MF4Alq3nqwcbJIOitkYrd c14ywa0wWOBWk86g+qqBFU2SBtQyB7FalMRkFkMhRFN8wx7Owq 7iR1Q85jgIU/vnskHhNddwG3fambCu+S6bFiL6eg3Y4bkdmfHy Kc5dKMIHUdUU4NUB2Vo8ZoWhfH3btfisBRIblY/px7Tt9MbIpS FxM+80RMUpdQhbtAwaZjg/6CsboWvV9fD6eiGFNeoCLeMLW6Mf tQGMjrHYdAtgThjeT9+3ehIUK66+22n9SNhaNguwDnFKw9Zzat +gLTfFdxqy2IEhq0wT0BVdQaplOcI2dbSvuByDHX4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP If the USB code is a loadable module, this driver cannot be built-in. This adds an explicit dependency on CONFIG_USB so that Kconfig can force sn9c102 to be a module in this case. Signed-off-by: Arnd Bergmann Cc: Luca Risolia Cc: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org Cc: linux-usb@vger.kernel.org --- drivers/staging/media/sn9c102/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/sn9c102/Kconfig b/drivers/staging/media/sn9c102/Kconfig index c9aba59..10f586b 100644 --- a/drivers/staging/media/sn9c102/Kconfig +++ b/drivers/staging/media/sn9c102/Kconfig @@ -1,6 +1,6 @@ config USB_SN9C102 tristate "USB SN9C1xx PC Camera Controller support (DEPRECATED)" - depends on VIDEO_V4L2 && MEDIA_USB_SUPPORT + depends on VIDEO_V4L2 && MEDIA_USB_SUPPORT && USB ---help--- This driver is DEPRECATED, please use the gspca sonixb and sonixj modules instead.