USB: usbfs: deprecate and hide option for !embedded
authorScott James Remnant <scott@canonical.com>
Tue, 21 Apr 2009 16:21:40 +0000 (17:21 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:41 +0000 (21:44 -0700)
commitcc71329b3b89b4a5be849b617f2c4f151f0b9213
tree52897c0b6537914763a06b5f2e38ce1977248d62
parent91f8d063d30358fcb76831c238071f7d4b13c35e
USB: usbfs: deprecate and hide option for !embedded

Modern systems do not use usbfs; the entries within it are files,
not device nodes, and do not support ACLs which are the default way to
provide access to USB devices to untrusted users.

It is replaced by device-nodes maintained by udev in /dev/bus/usb,
libusb uses this device nodes.

Mark the option as deprecated, and hide entirely for non-embedded builds
(which may not be using udev but require raw USB device access).

Signed-off-by: Scott James Remnant <scott@canonical.com>
Acked-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/Kconfig