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)
commite03f2e8a530e0ed46af43093e23a70b7c7215263
tree69bc76da836e9953ab78c3aae22dac89fe7a21f8
parent93993a0a3e528357ae4b9b0eb82fd4b428ebbf64
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