Re: [PATCH 1/5 v13] arm: omap: usb: ehci and ohci hwmod structuresfor omap4

From: Alan Stern
Date: Mon Oct 10 2011 - 11:19:50 EST


On Mon, 10 Oct 2011, Felipe Balbi wrote:

> > > do we have sibling structures today? I dont think so.
> >
> > no we don't.
>
> Ok, here's a first shot at it:

In fact we do already have sibling lists. They are maintained as part
of the device_private structure. What we are missing is a
device_for_each_sibling() routine. It could be added pretty easily; it
would be similar to device_for_each_child().

Alan Stern

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