summaryrefslogtreecommitdiff
path: root/include/linux/usb
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2013-10-03 19:12:34 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-04 02:47:31 +0400
commit8934d3e4d0e7aed1bd067529c667984d7929d92d (patch)
tree9ab63719d84187023bc296b2123d719a9ae17f9c /include/linux/usb
parent918ee0d21ba451634788d04930f09f2c76492e18 (diff)
downloadlinux-8934d3e4d0e7aed1bd067529c667984d7929d92d.tar.xz
usb: musb: omap2430: Don't use omap_get_control_dev()
omap_get_control_dev() is being deprecated as it doesn't support multiple instances. As control device is present only from OMAP4 onwards which supports DT only, we use phandles to get the reference to the control device. Also get rid of "ti,has-mailbox" property as it is redundant and we can determine that from whether "ctrl-module" property is present or not. Get rid of has_mailbox from musb_hdrc_platform_data as well. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/musb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/usb/musb.h b/include/linux/usb/musb.h
index 053c26841cc3..eb505250940a 100644
--- a/include/linux/usb/musb.h
+++ b/include/linux/usb/musb.h
@@ -99,8 +99,6 @@ struct musb_hdrc_platform_data {
/* MUSB_HOST, MUSB_PERIPHERAL, or MUSB_OTG */
u8 mode;
- u8 has_mailbox:1;
-
/* for clk_get() */
const char *clock;