Messages in this thread | | | Date | Mon, 10 Oct 2011 11:19:43 -0400 (EDT) | From | Alan Stern <> | Subject | Re: [PATCH 1/5 v13] arm: omap: usb: ehci and ohci hwmod structures for omap4 |
| |
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
| |