RE: [PATCH] Add OHCI USB platform init

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

 



> +static struct omap_usb_config sdp2430_usb_config __initdata = {
> +       .otg            = 1,
> +#ifdef  CONFIG_USB_GADGET_OMAP
> +       .hmc_mode       = 0x0,
> +#elif   defined(CONFIG_USB_OHCI_HCD) ||
> defined(CONFIG_USB_OHCI_HCD_MODULE)
> +       .hmc_mode       = 0x1,
> +#endif
> +       .pins[0]        = 3,
> +}

Use tabs instead of spaces. 

> 
>  static void __init omap_2430sdp_init(void)
>  {
> @@ -216,6 +225,7 @@ static void __init omap_2430sdp_init(void)
>         platform_add_devices(sdp2430_devices,
> ARRAY_SIZE(sdp2430_devices));
>         omap_serial_init();
>         omap2_hsmmc_init(mmc);
> +       omap_usb_init(&sdp2430_usb_config);

And here too.

Maulik

--
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