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

Denis Kirjanov kirjanov at gmail.com
Sun Oct 24 09:44:51 UTC 2010


On Sat, Oct 23, 2010 at 10:25 PM, Neil Munro <neilmunro at gmail.com> wrote:
> usb_main_dev.c has now been cleaned of all errors, just needed spaces around colon symbols.
>
> Signed-off-by: Neil Munro <neilmunro at gmail.com>
> ---
>  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 at linuxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
>

-- 
Regards,
Denis



More information about the devel mailing list