]> git.baikalelectronics.ru Git - kernel.git/commit
usb: hook up device authorization to sysfs
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Wed, 1 Aug 2007 03:34:07 +0000 (20:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:08 +0000 (14:55 -0700)
commitd9019445777cc52a68b1d94a8702e6c7a01561ac
tree69bc76da836e9953ab78c3aae22dac89fe7a21f8
parente4e22e5dd300f116314e63e739de74c9cca94c51
usb: hook up device authorization to sysfs

Makes it possible to control the authorization of USB devices through
sysfs's /sys/usb/devices/*/authorize.

Update: per Adrian Bunk's suggestion, make dev_attr_authorized_default static

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/sysfs.c