Re: [RFC PATCHv3 02/18] usb: otg: Separate otg members from usb_phy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 22, 2011 at 04:01:45PM +0300, Felipe Balbi wrote:
> Hi,
> 
> On Mon, Aug 22, 2011 at 03:39:05PM +0300, Heikki Krogerus wrote:
> > diff --git a/include/linux/usb/otg.h b/include/linux/usb/otg.h
> > index e0bc557..e003939 100644
> > --- a/include/linux/usb/otg.h
> > +++ b/include/linux/usb/otg.h
> > @@ -48,11 +48,35 @@ struct usb_phy;
> >  /* for transceivers connected thru an ULPI interface, the user must
> >   * provide access ops
> >   */
> > -struct otg_io_access_ops {
> > +struct usb_phy_io_ops {
> >  	int (*read)(struct usb_phy *x, u32 reg);
> >  	int (*write)(struct usb_phy *x, u32 val, u32 reg);
> >  };
> >  
> > +struct otg {
> 
> this would be better called struct usb_otg.

OK

-- 
heikki
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux