summaryrefslogtreecommitdiffstats
path: root/include
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
parentf9828552b945b9522f15f9eccea6d6df0af49753 (diff)
downloadop-kernel-dev-884b8369ee78c081b5e5a99d1d09a95815d13c28.zip
op-kernel-dev-884b8369ee78c081b5e5a99d1d09a95815d13c28.tar.gz
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')
-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 d437556..5dc2f22 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;
};
OpenPOWER on IntegriCloud