Re: [patch 2.6.29-rc2] usb: another musb buildfix (resend)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 18 Jan 2009 08:23:25 -0800 David Brownell <david-b@xxxxxxxxxxx> wrote:

> From: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
> 
> The DaVinci code had an implementation of the OTG transceiver glue
> too; make it use the new-standard one.
> 
> Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
> ---
> This patch got broken by the Blackfin merge, but the resent
> (fixed) version got lost.
> 
>  arch/arm/mach-davinci/usb.c |   23 -----------------------
>  drivers/usb/musb/Kconfig    |    1 +
>  2 files changed, 1 insertion(+), 23 deletions(-)
> 
> --- a/arch/arm/mach-davinci/usb.c
> +++ b/arch/arm/mach-davinci/usb.c
> @@ -76,29 +76,6 @@ static struct platform_device usb_dev = 
>  	.num_resources  = ARRAY_SIZE(usb_resources),
>  };
>  
> -#ifdef CONFIG_USB_MUSB_OTG
> -
> -static struct otg_transceiver *xceiv;
> -
> -struct otg_transceiver *otg_get_transceiver(void)
> -{
> -	if (xceiv)
> -		get_device(xceiv->dev);
> -	return xceiv;
> -}
> -EXPORT_SYMBOL(otg_get_transceiver);
> -
> -int otg_set_transceiver(struct otg_transceiver *x)
> -{
> -	if (xceiv && x)
> -		return -EBUSY;
> -	xceiv = x;
> -	return 0;
> -}
> -EXPORT_SYMBOL(otg_set_transceiver);
> -
> -#endif
> -
>  void __init setup_usb(unsigned mA, unsigned potpgt_msec)
>  {
>  	usb_data.power = mA / 2;
> --- a/drivers/usb/musb/Kconfig
> +++ b/drivers/usb/musb/Kconfig
> @@ -11,6 +11,7 @@ config USB_MUSB_HDRC
>  	depends on (USB || USB_GADGET) && HAVE_CLK
>  	depends on !SUPERH
>  	select TWL4030_USB if MACH_OMAP_3430SDP
> +	select USB_OTG_UTILS
>  	tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)'
>  	help
>  	  Say Y here if your system has a dual role high speed USB

This one has only made it as far as linux-next.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux