From: Arnd Bergmann Date: Tue, 19 Feb 2013 19:54:15 +0000 (+0100) Subject: Merge tag 'omap-for-v3.9/usb-signed' of git://git.kernel.org/pub/scm/linux/kernel... X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=6e7f7cfce26cabea2965a43b69b4a0c285a7e4c5;p=linux-edison.git Merge tag 'omap-for-v3.9/usb-signed' of git://git./linux/kernel/git/tmlind/linux-omap into next/soc These changes contain the OMAP USB related platform data changes that were dropped from linux next because of the merge conflicts as requested by me and Olof. The reason was that at this point we really should be able to do the arch/arm related changes separately from driver changes to avoid dependencies between branches. These patches were initially part of the USB related MFD patches. Based on our comments, Roger Quadros quickly reworked these patches into a shared branch between ARM SoC tree and the MFD tree, then separate patches for the OMAP platform data and MFD driver. Note that this branch will conflict with c1d1cd597fc7 ("ARM: OMAP2+: omap_device: remove obsolete pm_lats and early_device code"). Please see http://lkml.org/lkml/2013/2/11/16 for the merge resolution. [arnd - resolved the merge conflict] Signed-off-by: Arnd Bergmann --- 6e7f7cfce26cabea2965a43b69b4a0c285a7e4c5 diff --cc arch/arm/mach-omap2/usb-host.c index 99f04deb4c7,940aad40127..5706bdccf45 --- a/arch/arm/mach-omap2/usb-host.c +++ b/arch/arm/mach-omap2/usb-host.c @@@ -37,11 -37,14 +37,6 @@@ #define USBHS_UHH_HWMODNAME "usb_host_hs" #define USBHS_TLL_HWMODNAME "usb_tll_hs" - static struct usbhs_omap_platform_data usbhs_data; - static struct usbtll_omap_platform_data usbtll_data; - static struct ehci_hcd_omap_platform_data ehci_data; - static struct ohci_hcd_omap_platform_data ohci_data; -static struct omap_device_pm_latency omap_uhhtll_latency[] = { - { - .deactivate_func = omap_device_idle_hwmods, - .activate_func = omap_device_enable_hwmods, - .flags = OMAP_DEVICE_LATENCY_AUTO_ADJUST, - }, -}; -- /* MUX settings for EHCI pins */ /* * setup_ehci_io_mux - initialize IO pad mux for USBHOST @@@ -522,7 -511,9 +503,7 @@@ void __init usbhs_init(struct usbhs_oma } pdev = omap_device_build(OMAP_USBTLL_DEVICE, bus_id, tll_hwm, - &usbtll_data, sizeof(usbtll_data)); - pdata, sizeof(*pdata), - omap_uhhtll_latency, - ARRAY_SIZE(omap_uhhtll_latency), false); ++ pdata, sizeof(*pdata)); if (IS_ERR(pdev)) { pr_err("Could not build hwmod device %s\n", USBHS_TLL_HWMODNAME); @@@ -530,7 -521,9 +511,7 @@@ } pdev = omap_device_build(OMAP_USBHS_DEVICE, bus_id, uhh_hwm, - &usbhs_data, sizeof(usbhs_data)); - pdata, sizeof(*pdata), - omap_uhhtll_latency, - ARRAY_SIZE(omap_uhhtll_latency), false); ++ pdata, sizeof(*pdata)); if (IS_ERR(pdev)) { pr_err("Could not build hwmod devices %s\n", USBHS_UHH_HWMODNAME);