Re: [PATCH] Staging: RT2860: Fixed two errors in usb_main_dev.c

From: Denis Kirjanov
Date: Sun Oct 24 2010 - 05:44:56 EST


On Sat, Oct 23, 2010 at 10:25 PM, Neil Munro <neilmunro@xxxxxxxxx> wrote:
> usb_main_dev.c has now been cleaned of all errors, just needed spaces around colon symbols.
>
> Signed-off-by: Neil Munro <neilmunro@xxxxxxxxx>
> ---
>  drivers/staging/rt2860/usb_main_dev.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rt2860/usb_main_dev.c b/drivers/staging/rt2860/usb_main_dev.c
> index ebf9074..30c16dd 100644
> --- a/drivers/staging/rt2860/usb_main_dev.c
> +++ b/drivers/staging/rt2860/usb_main_dev.c
> @@ -368,8 +368,8 @@ struct usb_driver rtusb_driver = {
>        .id_table = rtusb_usb_id,
>
>  #ifdef CONFIG_PM
> -suspend:rt2870_suspend,
> -resume:rt2870_resume,
> +suspend : rt2870_suspend,
> +resume : rt2870_resume,

Structure should _not_ be initialized like this.
There are tons of examples through the kernel tree.

>  #endif
>  };
>
> --
> 1.7.3.2
>
> _______________________________________________
> devel mailing list
> devel@xxxxxxxxxxxxxxxxxxxxxx
> http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
>

--
Regards,
Denis
--
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/