Skip to contentSkip to conversation

Staging: RT2860: Fixed two errors in usb_main_dev.c

PATCH In review Neil Munro 2 participants 2 messages Oct 23, 2010 – Oct 24, 2010 Staging

lore
Share & tools
lore

Neil Munro

author
#0 lore raw

PATCH 1/1 Staging: RT2860: Fixed two errors in usb_main_dev.c

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

---
 drivers/staging/rt2860/usb_main_dev.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rt2860/usb_main_dev.c +2 -2
index ebf9074..30c16dd 100644
@@ -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

#1 lore raw
Quoted 12 lines · Neil Munro

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

---
 drivers/staging/rt2860/usb_main_dev.c |    4 ++--

 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rt2860/usb_main_dev.c +0 -0
index ebf9074..30c16dd 100644

drivers/staging/rt2860/usb_main_dev.c struct usb_driver rtusb_driver = { · line 372

Quoted 7 lines
drivers/staging/rt2860/usb_main_dev.c +2 -2
@@ -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.

Quoted 11 lines
drivers/staging/rt2860/usb_main_dev.c +0 -1
  #endif
  };
 
--

1.7.3.2

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Signature · 2 lines
Regards,
Denis