USB: Put phidgets driver in a sysfs class
This patch creates a device class phidget and add the phidget drivers to
them.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
index 8affc13..20539cf 100644
--- a/drivers/usb/misc/Kconfig
+++ b/drivers/usb/misc/Kconfig
@@ -115,9 +115,16 @@
To compile this driver as a module, choose M here: the
module will be called cytherm.
+config USB_PHIDGET
+ tristate "USB Phidgets drivers"
+ depends on USB
+ help
+ Say Y here to enable the various drivers for devices from
+ Phidgets inc.
+
config USB_PHIDGETKIT
tristate "USB PhidgetInterfaceKit support"
- depends on USB
+ depends on USB_PHIDGET
help
Say Y here if you want to connect a PhidgetInterfaceKit USB device
from Phidgets Inc.
@@ -127,7 +134,7 @@
config USB_PHIDGETMOTORCONTROL
tristate "USB PhidgetMotorControl support"
- depends on USB
+ depends on USB_PHIDGET
help
Say Y here if you want to connect a PhidgetMotorControl USB device
from Phidgets Inc.
@@ -137,7 +144,7 @@
config USB_PHIDGETSERVO
tristate "USB PhidgetServo support"
- depends on USB
+ depends on USB_PHIDGET
help
Say Y here if you want to connect an 1 or 4 Motor PhidgetServo
servo controller version 2.0 or 3.0.