diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-25 18:26:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-29 22:29:57 -0400 |
commit | 007bab91324e6337bb150ffc17b20cf829686370 (patch) | |
tree | 6aed165e4fb5d128720849abf7549e346e36158c /drivers/usb/core/Kconfig | |
parent | fb28d58b72aa9215b26f1d5478462af394a4d253 (diff) |
USB: remove CONFIG_USB_DEVICE_CLASS
This option has been deprecated for many years now, and no userspace
tools use it anymore, so it should be safe to finally remove it.
Reported-by: Kay Sievers <kay@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/Kconfig')
-rw-r--r-- | drivers/usb/core/Kconfig | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig index 751031e8d8d2..fe46fc09defc 100644 --- a/drivers/usb/core/Kconfig +++ b/drivers/usb/core/Kconfig | |||
@@ -27,29 +27,6 @@ config USB_ANNOUNCE_NEW_DEVICES | |||
27 | comment "Miscellaneous USB options" | 27 | comment "Miscellaneous USB options" |
28 | depends on USB | 28 | depends on USB |
29 | 29 | ||
30 | config USB_DEVICE_CLASS | ||
31 | bool "USB device class-devices (DEPRECATED)" | ||
32 | depends on USB | ||
33 | default y | ||
34 | ---help--- | ||
35 | Userspace access to USB devices is granted by device-nodes exported | ||
36 | directly from the usbdev in sysfs. Old versions of the driver | ||
37 | core and udev needed additional class devices to export device nodes. | ||
38 | |||
39 | These additional devices are difficult to handle in userspace, if | ||
40 | information about USB interfaces must be available. One device | ||
41 | contains the device node, the other device contains the interface | ||
42 | data. Both devices are at the same level in sysfs (siblings) and one | ||
43 | can't access the other. The device node created directly by the | ||
44 | usb device is the parent device of the interface and therefore | ||
45 | easily accessible from the interface event. | ||
46 | |||
47 | This option provides backward compatibility for libusb device | ||
48 | nodes (lsusb) when usbfs is not used, and the following udev rule | ||
49 | doesn't exist: | ||
50 | SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", \ | ||
51 | NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644" | ||
52 | |||
53 | config USB_DYNAMIC_MINORS | 30 | config USB_DYNAMIC_MINORS |
54 | bool "Dynamic USB minor allocation" | 31 | bool "Dynamic USB minor allocation" |
55 | depends on USB | 32 | depends on USB |