]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: always export interface information for modalias
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Jun 2005 04:15:16 +0000 (21:15 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 23:47:48 +0000 (16:47 -0700)
commitf76a96aae37555db70e3048bb5c5f02e01457723
treeab260e1d91991fa6d8bf5fd78321bb9c163a6b13
parent2b5df7983ac58e577f3106fd4cb0445cd88cf0e5
[PATCH] USB: always export interface information for modalias

This fixes a problem with some cdc acm devices that were not getting
automatically loaded as the module alias was not being reported
properly.

This check was for back in the days when we only reported hotplug events
for the main usb device, not the interfaces.  We should always give the
interface information for MODALIAS/modalias as it can be needed.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/sysfs.c
drivers/usb/core/usb.c