aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/musb.h
diff options
context:
space:
mode:
authorMaulik Mankad <x0082077@ti.com>2010-02-17 14:09:30 -0800
committerTony Lindgren <tony@atomide.com>2010-02-19 15:22:17 -0800
commit884b8369ee78c081b5e5a99d1d09a95815d13c28 (patch)
treeb9242dfe2fc11fb743bb265f4ee4ee2a2a43e7b6 /include/linux/usb/musb.h
parentarm: omap: musb: ioremap only what's ours (diff)
downloadlinux-dev-884b8369ee78c081b5e5a99d1d09a95815d13c28.tar.xz
linux-dev-884b8369ee78c081b5e5a99d1d09a95815d13c28.zip
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/usb/musb.h')
-rw-r--r--include/linux/usb/musb.h3
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 {
/* MUSB configuration-specific details */
struct musb_hdrc_config *config;
+
+ /* Architecture specific board data */
+ void *board_data;
};