]> git.dujemihanovic.xyz Git - u-boot.git/commit
musb: Use name based initialization for musb_config
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Thu, 10 Jun 2010 05:50:47 +0000 (11:20 +0530)
committerRemy Bohmer <linux@bohmer.net>
Wed, 30 Jun 2010 19:37:37 +0000 (21:37 +0200)
commitbbf4c01efc699f777687e4e5fcc3631749ee6813
tree9a7ca3922ccc2de5ba2d7bc7ae7fba970a7278e4
parent64203c7b0f4568e5ece9fc1b25f763bed88d10b8
musb: Use name based initialization for musb_config

Changed musb_config initialization for omap3.c, davinci.c
and da8xx.c using name of structure fields. This would cause
the uninitialized field to be null by default and thus would
help in avoiding to init some flags required to be set only
for a few selected platforms.

CC: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
drivers/usb/musb/da8xx.c
drivers/usb/musb/davinci.c
drivers/usb/musb/omap3.c