Re: [PATCH mm] sysfs: add /sys/dev/usb to handleCONFIG_USB_DEVICE_CLASS=y

From: Greg KH
Date: Thu Apr 17 2008 - 23:01:30 EST


On Thu, Apr 17, 2008 at 07:11:03PM -0700, Dan Williams wrote:
> The deprecated config option CONFIG_USB_DEVICE_CLASS causes class devices
> with duplicate major:minor numbers to be registered. In effect they
> represent a usb specific address space for major:minor numbers so add 'usb'
> as a directory along side 'block' and 'char'.
>
> Cc: Kay Sievers <kay.sievers@xxxxxxxx>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> ---
> This boots up without warning on my dev system. We end up with the
> following situation:

This patch is not going to work if usbcore is a module :(

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/