Re: [PATCH] i2c: twl4030: warning: mixed declarations and code

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

 



Hi Balbi,

Sorry but I didn't get your point with your patch.

On Wed, Jun 11, 2008 at 7:55 AM, Felipe Balbi <felipe.balbi@xxxxxxxxx> wrote:
> Latest patches for multi-omap support introduced
> it, removing.

What exactly you are removing?

>
> Trivial patch.
>
> Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
> ---
>  drivers/i2c/chips/twl4030-usb.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/i2c/chips/twl4030-usb.c b/drivers/i2c/chips/twl4030-usb.c
> index 7f93b4f..f546d42 100644
> --- a/drivers/i2c/chips/twl4030-usb.c
> +++ b/drivers/i2c/chips/twl4030-usb.c
> @@ -625,8 +625,8 @@ static int twl4030_set_suspend(struct otg_transceiver *x, int suspend)
>  static int twl4030_set_peripheral(struct otg_transceiver *xceiv,
>                struct usb_gadget *gadget)
>  {
> -       struct twl4030_usb *twl = xceiv_to_twl(xceiv);
>        u32 l;
> +       struct twl4030_usb *twl = xceiv_to_twl(xceiv);

To me you are just moving the place of this declaration.
>
>        if (!xceiv)
>                return -ENODEV;
> --
> 1.5.6.rc1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Eduardo Bezerra Valentin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux