Re: [PATCH] u132-hcd: add missing braces
From: Rafael J. Wysocki
Date: Sun Feb 24 2008 - 06:16:05 EST
On Sunday, 24 of February 2008, Stephen Rothwell wrote:
>
> Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Thanks, this has been fixed already in the mainline.
> ---
> drivers/usb/host/u132-hcd.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> Discovered while building Linus' tree for today's linux-next. Not the
> correct patch, but allowed compilation to succeed.
>
> diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c
> index 6fca069..648ad1a 100644
> --- a/drivers/usb/host/u132-hcd.c
> +++ b/drivers/usb/host/u132-hcd.c
> @@ -3221,11 +3221,13 @@ static int u132_suspend(struct platform_device *pdev, pm_message_t state)
> break;
> case PM_EVENT_SUSPEND:
> case PM_EVENT_HIBERNATE:
> + {
> int ports = MAX_U132_PORTS;
> while (ports-- > 0) {
> port_power(u132, ports, 0);
> }
> break;
> + }
> }
> if (retval == 0)
> pdev->dev.power.power_state = state;
> --
> 1.5.4.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/