diff options
| author | Maulik Mankad <x0082077@ti.com> | 2010-02-17 17:09:30 -0500 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2010-02-19 18:22:17 -0500 |
| commit | 884b8369ee78c081b5e5a99d1d09a95815d13c28 (patch) | |
| tree | b9242dfe2fc11fb743bb265f4ee4ee2a2a43e7b6 /include/linux | |
| parent | f9828552b945b9522f15f9eccea6d6df0af49753 (diff) | |
omap: musb: Pass board specific data from board file
Pass board specific data for MUSB (like interface_type,
mode etc) from board file by defining board
specific structure.
Each board file can define this structure based on
its requirement and pass this information to the
driver.
Signed-off-by: Maulik Mankad <x0082077@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Gupta Ajay Kumar <ajay.gupta@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/usb/musb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h index d43755669261..5dc2f227a0f1 100644 --- a/include/linux/usb/musb.h +++ b/include/linux/usb/musb.h | |||
| @@ -84,6 +84,9 @@ struct musb_hdrc_platform_data { | |||
| 84 | 84 | ||
| 85 | /* MUSB configuration-specific details */ | 85 | /* MUSB configuration-specific details */ |
| 86 | struct musb_hdrc_config *config; | 86 | struct musb_hdrc_config *config; |
| 87 | |||
| 88 | /* Architecture specific board data */ | ||
| 89 | void *board_data; | ||
| 87 | }; | 90 | }; |
| 88 | 91 | ||
| 89 | 92 | ||
