Re: [PATCH ] drivers/base/bus.c - export reprobe

From: Christoph Hellwig
Date: Tue Mar 14 2006 - 12:23:07 EST


On Tue, Mar 14, 2006 at 09:19:51AM -0800, Greg KH wrote:
> I saw the:
>
> + if (dev->driver) {^M
> + if (dev->parent) /* Needed for USB */^M
> + down(&dev->parent->sem);^M
>
> portion and thought it came from USB core code somewhere. Or are you
> referring to the need for USB-storage here?

It's copied from a runtime close to this one in the driver core.
Unfortunately it's not easily sharable so I duplicated those few lines.

-
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/