Staging: RT2860: Fixed two errors in usb_main_dev.c
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.
Signed-off-by Neil Munro <[email protected]>
--- drivers/staging/rt2860/usb_main_dev.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
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, #endif };
--
1.7.3.2
Quoted 12 lines · Neil Munro
usb_main_dev.chas now been cleaned of all errors, just needed spaces around colon symbols.Signed-off-by Neil Munro <[email protected]>---
drivers/staging/rt2860/usb_main_dev.c | 4 ++--1 files changed, 2 insertions(+), 2 deletions(-)drivers/staging/rt2860/usb_main_dev.c +0
-0
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