Re: [PATCH 02/22] usb: musb: make all glue layer export struct musb_platform_ops

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

 



On Thu, Dec 2, 2010 at 04:25, Felipe Balbi wrote:
> +struct musb_platform_ops musb_ops = {
> +    .init      = am35x_init,
> +    .exit      = am35x_exit,
> +
> +    .enable     = am35x_enable,
> +    .disable    Â= am35x_disable,
> +
> +    .set_mode    = am35x_set_mode,
> +    .try_idle    = am35x_try_idle,
> +
> +    .set_vbus    = am35x_set_vbus,
> +};

is there any need for these musb_platform_ops to be writable ?  or
should we start using "const" from the outset rather than adding it
later ?
-mike
--
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