From: Arnd Bergmann <arnd@arndb.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
Luca Risolia <luca.risolia@studio.unibo.it>,
Mauro Carvalho Chehab <m.chehab@samsung.com>,
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 [thread overview]
Message-ID: <1402001295-1980118-4-git-send-email-arnd@arndb.de> (raw)
In-Reply-To: <1402001295-1980118-1-git-send-email-arnd@arndb.de>
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 <arnd@arndb.de>
Cc: Luca Risolia <luca.risolia@studio.unibo.it>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
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.
--
1.8.3.2
next prev parent reply other threads:[~2014-06-05 20:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-05 20:48 [PATCH 0/5] randconfig build fixes for staging Arnd Bergmann
2014-06-05 20:48 ` [PATCH 1/5] staging: lirc: remove sa1100 support Arnd Bergmann
2014-06-05 20:48 ` [PATCH 2/5] staging/iio: IIO_SIMPLE_DUMMY_BUFFER neds IIO_BUFFER Arnd Bergmann
2014-06-07 10:46 ` Jonathan Cameron
2014-06-05 20:48 ` Arnd Bergmann [this message]
2014-06-05 20:48 ` [PATCH 4/5] staging: wlags49_h2: avoid PROFILE_ALL_BRANCHES warnings Arnd Bergmann
2014-06-05 20:48 ` [PATCH 5/5] staging: rtl8712, rtl8712: avoid lots of build warnings Arnd Bergmann
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=1402001295-1980118-4-git-send-email-arnd@arndb.de \
--to=arnd@arndb.de \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=luca.risolia@studio.unibo.it \
--cc=m.chehab@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®