Re: [RFC] am33xx: create child nodes for the two musb controllers

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

 



Hi,

On Thu, Jun 27, 2013 at 09:31:34AM +0200, Sebastian Andrzej Siewior wrote:
> > the patch is alright, but what about the giant amoutn of function 
> > pointers we have ? Are you planning to use of_dev_auxdata ??
> 
> I didn't plan to use of_dev_auxdata. What do you mean by "giant amount
> of function pointers"?

every glue layer has:

467 static const struct musb_platform_ops omap2430_ops = {
468         .init           = omap2430_musb_init,
469         .exit           = omap2430_musb_exit,
470 
471         .set_mode       = omap2430_musb_set_mode,
472         .try_idle       = omap2430_musb_try_idle,
473 
474         .set_vbus       = omap2430_musb_set_vbus,
475 
476         .enable         = omap2430_musb_enable,
477         .disable        = omap2430_musb_disable,
478 };

note that in the glue layer, they have access to musb itself (biggest
mistake of my life, btw :-)

-- 
balbi

Attachment: signature.asc
Description: Digital signature


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

  Powered by Linux