summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@nvidia.com>2011-01-04 18:10:33 -0800
committerBharat Nihalani <bnihalani@nvidia.com>2011-01-05 02:44:37 -0800
commit7a087a2b09895ab81ecace6b0e98f222006e447a (patch)
tree3ebb1150d7ff3503e6647e91c29902591e0eb7bd /include
parentf68763913b21267e2c3536b69a842a627721d5a8 (diff)
tegra: otg: Don't use global functions in board files
Releasing the platform_data in unregister. Change-Id: Iba1c6e7ad42b0886f8ce9dadf9664bcc266398d4 Reviewed-on: http://git-master/r/14963 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tegra_usb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/tegra_usb.h b/include/linux/tegra_usb.h
index 2947ed26879a..6ae8c1e85229 100644
--- a/include/linux/tegra_usb.h
+++ b/include/linux/tegra_usb.h
@@ -32,4 +32,9 @@ struct tegra_ehci_platform_data {
void *phy_config;
};
+struct tegra_otg_platform_data {
+ struct platform_device* (*host_register)(void);
+ void (*host_unregister)(struct platform_device*);
+};
+
#endif /* _TEGRA_USB_H_ */