public inbox for linux-input@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] input: joystick: make USB drivers depend on USB
@ 2018-01-17 21:30 Marcus Folkesson
  2018-01-17 21:53 ` Dmitry Torokhov
  0 siblings, 1 reply; 5+ messages in thread
From: Marcus Folkesson @ 2018-01-17 21:30 UTC (permalink / raw)
  To: Dmitry Torokhov, Marcus Folkesson, Tomohiro Yoshidomi,
	David Herrmann
  Cc: linux-input, linux-kernel

A driver should not enable an entire subsystem.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
---
 drivers/input/joystick/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/input/joystick/Kconfig b/drivers/input/joystick/Kconfig
index 332c0cc1b2ab..4a199cff8c68 100644
--- a/drivers/input/joystick/Kconfig
+++ b/drivers/input/joystick/Kconfig
@@ -279,8 +279,7 @@ config JOYSTICK_JOYDUMP
 
 config JOYSTICK_XPAD
 	tristate "X-Box gamepad support"
-	depends on USB_ARCH_HAS_HCD
-	select USB
+	depends on USB
 	help
 	  Say Y here if you want to use the X-Box pad with your computer.
 	  Make sure to say Y to "Joystick support" (CONFIG_INPUT_JOYDEV)
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-18 18:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-17 21:30 [PATCH] input: joystick: make USB drivers depend on USB Marcus Folkesson
2018-01-17 21:53 ` Dmitry Torokhov
2018-01-18  0:01   ` Randy Dunlap
2018-01-18 18:25   ` Randy Dunlap
2018-01-18 18:54     ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox