mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Staging: RT2860: Fixed two errors in usb_main_dev.c
@ 2010-10-23 18:25 Neil Munro
  2010-10-24  9:44 ` Denis Kirjanov
  0 siblings, 1 reply; 2+ messages in thread
From: Neil Munro @ 2010-10-23 18:25 UTC (permalink / raw)
  To: gregkh, wfp5p; +Cc: devel, linux-kernel, Neil Munro

usb_main_dev.c has now been cleaned of all errors, just needed spaces around colon symbols.

Signed-off-by: Neil Munro <neilmunro@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,
 #endif
 };

--
1.7.3.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Staging: RT2860: Fixed two errors in usb_main_dev.c
  2010-10-23 18:25 [PATCH] Staging: RT2860: Fixed two errors in usb_main_dev.c Neil Munro
@ 2010-10-24  9:44 ` Denis Kirjanov
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kirjanov @ 2010-10-24  9:44 UTC (permalink / raw)
  To: Neil Munro; +Cc: gregkh, wfp5p, devel, linux-kernel

On Sat, Oct 23, 2010 at 10:25 PM, Neil Munro <neilmunro@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@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@linuxdriverproject.org
> http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
>

-- 
Regards,
Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-24  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-23 18:25 [PATCH] Staging: RT2860: Fixed two errors in usb_main_dev.c Neil Munro
2010-10-24  9:44 ` Denis Kirjanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®