diff options
Diffstat (limited to 'drivers/usb/misc')
| -rw-r--r-- | drivers/usb/misc/Kconfig | 21 | ||||
| -rw-r--r-- | drivers/usb/misc/appledisplay.c | 1 | ||||
| -rw-r--r-- | drivers/usb/misc/iowarrior.c | 4 | ||||
| -rw-r--r-- | drivers/usb/misc/sisusbvga/Kconfig | 2 | ||||
| -rw-r--r-- | drivers/usb/misc/sisusbvga/sisusb.c | 2 | ||||
| -rw-r--r-- | drivers/usb/misc/usb3503.c | 13 | ||||
| -rw-r--r-- | drivers/usb/misc/uss720.c | 2 | 
7 files changed, 7 insertions, 38 deletions
diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig index 3b1a3f4ec5e..a51e7d6afda 100644 --- a/drivers/usb/misc/Kconfig +++ b/drivers/usb/misc/Kconfig @@ -2,11 +2,9 @@  # USB Miscellaneous driver configuration  #  comment "USB Miscellaneous drivers" -	depends on USB  config USB_EMI62  	tristate "EMI 6|2m USB Audio interface support" -	depends on USB  	---help---  	  This driver loads firmware to Emagic EMI 6|2m low latency USB  	  Audio and Midi interface. @@ -21,7 +19,6 @@ config USB_EMI62  config USB_EMI26  	tristate "EMI 2|6 USB Audio interface support" -	depends on USB  	---help---  	  This driver loads firmware to Emagic EMI 2|6 low latency USB  	  Audio interface. @@ -34,7 +31,6 @@ config USB_EMI26  config USB_ADUTUX  	tristate "ADU devices from Ontrak Control Systems" -	depends on USB  	help  	  Say Y if you want to use an ADU device from Ontrak Control  	  Systems. @@ -44,7 +40,6 @@ config USB_ADUTUX  config USB_SEVSEG  	tristate "USB 7-Segment LED Display" -	depends on USB  	help  	  Say Y here if you have a USB 7-Segment Display by Delcom @@ -53,7 +48,6 @@ config USB_SEVSEG  config USB_RIO500  	tristate "USB Diamond Rio500 support" -	depends on USB  	help  	  Say Y here if you want to connect a USB Rio500 mp3 player to your  	  computer's USB port. Please read <file:Documentation/usb/rio.txt> @@ -64,7 +58,6 @@ config USB_RIO500  config USB_LEGOTOWER  	tristate "USB Lego Infrared Tower support" -	depends on USB  	help  	  Say Y here if you want to connect a USB Lego Infrared Tower to your  	  computer's USB port. @@ -77,7 +70,6 @@ config USB_LEGOTOWER  config USB_LCD  	tristate "USB LCD driver support" -	depends on USB  	help  	  Say Y here if you want to connect an USBLCD to your computer's  	  USB port. The USBLCD is a small USB interface board for @@ -89,7 +81,6 @@ config USB_LCD  config USB_LED  	tristate "USB LED driver support" -	depends on USB  	help  	  Say Y here if you want to connect an USBLED device to your   	  computer's USB port. @@ -99,7 +90,6 @@ config USB_LED  config USB_CYPRESS_CY7C63  	tristate "Cypress CY7C63xxx USB driver support" -	depends on USB  	help  	  Say Y here if you want to connect a Cypress CY7C63xxx  	  micro controller to your computer's USB port. Currently this @@ -113,7 +103,6 @@ config USB_CYPRESS_CY7C63  config USB_CYTHERM  	tristate "Cypress USB thermometer driver support" -	depends on USB  	help  	  Say Y here if you want to connect a Cypress USB thermometer  	  device to your computer's USB port. This device is also known @@ -126,7 +115,6 @@ config USB_CYTHERM  config USB_IDMOUSE  	tristate "Siemens ID USB Mouse Fingerprint sensor support" -	depends on USB  	help  	  Say Y here if you want to use the fingerprint sensor on  	  the Siemens ID Mouse. There is also a Siemens ID Mouse @@ -140,7 +128,6 @@ config USB_IDMOUSE  config USB_FTDI_ELAN  	tristate "Elan PCMCIA CardBus Adapter USB Client" -	depends on USB  	default M  	help  	  ELAN's Uxxx series of adapters are USB to PCMCIA CardBus adapters. @@ -164,7 +151,6 @@ config USB_FTDI_ELAN  config USB_APPLEDISPLAY  	tristate "Apple Cinema Display support" -	depends on USB  	select BACKLIGHT_LCD_SUPPORT  	select BACKLIGHT_CLASS_DEVICE  	help @@ -175,7 +161,6 @@ source "drivers/usb/misc/sisusbvga/Kconfig"  config USB_LD  	tristate "USB LD driver" -	depends on USB  	help  	  This driver is for generic USB devices that use interrupt transfers,  	  like LD Didactic's USB devices. @@ -185,7 +170,6 @@ config USB_LD  config USB_TRANCEVIBRATOR  	tristate "PlayStation 2 Trance Vibrator driver support" -	depends on USB  	help  	  Say Y here if you want to connect a PlayStation 2 Trance Vibrator  	  device to your computer's USB port. @@ -195,7 +179,6 @@ config USB_TRANCEVIBRATOR  config USB_IOWARRIOR  	tristate "IO Warrior driver support" -	depends on USB  	help  	  Say Y here if you want to support the IO Warrior devices from Code  	  Mercenaries.  This includes support for the following devices: @@ -209,7 +192,6 @@ config USB_IOWARRIOR  config USB_TEST  	tristate "USB testing driver" -	depends on USB  	help  	  This driver is for testing host controller software.  It is used  	  with specialized device firmware for regression and stress testing, @@ -220,7 +202,6 @@ config USB_TEST  config USB_ISIGHTFW  	tristate "iSight firmware loading support" -	depends on USB  	select FW_LOADER  	help  	  This driver loads firmware for USB Apple iSight cameras, allowing @@ -233,7 +214,6 @@ config USB_ISIGHTFW  config USB_YUREX  	tristate "USB YUREX driver support" -	depends on USB  	help  	  Say Y here if you want to connect a YUREX to your computer's  	  USB port. The YUREX is a leg-shakes sensor. See @@ -246,7 +226,6 @@ config USB_YUREX  config USB_EZUSB_FX2  	tristate "Functions for loading firmware on EZUSB chips" -	depends on USB  	help  	  Say Y here if you need EZUSB device support.  	  (Cypress FX/FX2/FX2LP microcontrollers) diff --git a/drivers/usb/misc/appledisplay.c b/drivers/usb/misc/appledisplay.c index 0fc6e5fc745..ba6a5d6e618 100644 --- a/drivers/usb/misc/appledisplay.c +++ b/drivers/usb/misc/appledisplay.c @@ -63,6 +63,7 @@ static const struct usb_device_id appledisplay_table[] = {  	{ APPLEDISPLAY_DEVICE(0x9219) },  	{ APPLEDISPLAY_DEVICE(0x921c) },  	{ APPLEDISPLAY_DEVICE(0x921d) }, +	{ APPLEDISPLAY_DEVICE(0x9236) },  	/* Terminating entry */  	{ } diff --git a/drivers/usb/misc/iowarrior.c b/drivers/usb/misc/iowarrior.c index db46143c67a..d36f34e25be 100644 --- a/drivers/usb/misc/iowarrior.c +++ b/drivers/usb/misc/iowarrior.c @@ -672,7 +672,7 @@ static int iowarrior_release(struct inode *inode, struct file *file)  		retval = -ENODEV;	/* close called more than once */  		mutex_unlock(&dev->mutex);  	} else { -		dev->opened = 0;	/* we're closeing now */ +		dev->opened = 0;	/* we're closing now */  		retval = 0;  		if (dev->present) {  			/* @@ -802,7 +802,7 @@ static int iowarrior_probe(struct usb_interface *interface,  			/* this one will match for the IOWarrior56 only */  			dev->int_out_endpoint = endpoint;  	} -	/* we have to check the report_size often, so remember it in the endianess suitable for our machine */ +	/* we have to check the report_size often, so remember it in the endianness suitable for our machine */  	dev->report_size = usb_endpoint_maxp(dev->int_in_endpoint);  	if ((dev->interface->cur_altsetting->desc.bInterfaceNumber == 0) &&  	    (dev->product_id == USB_DEVICE_ID_CODEMERCS_IOW56)) diff --git a/drivers/usb/misc/sisusbvga/Kconfig b/drivers/usb/misc/sisusbvga/Kconfig index 30ea7ca6846..0d03a520048 100644 --- a/drivers/usb/misc/sisusbvga/Kconfig +++ b/drivers/usb/misc/sisusbvga/Kconfig @@ -1,7 +1,7 @@  config USB_SISUSBVGA  	tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)" -	depends on USB && (USB_MUSB_HDRC || USB_EHCI_HCD) +	depends on (USB_MUSB_HDRC || USB_EHCI_HCD)          ---help---  	  Say Y here if you intend to attach a USB2VGA dongle based on a  	  Net2280 and a SiS315 chip. diff --git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c index dd573abd2d1..c21386ec5d3 100644 --- a/drivers/usb/misc/sisusbvga/sisusb.c +++ b/drivers/usb/misc/sisusbvga/sisusb.c @@ -3084,7 +3084,7 @@ static int sisusb_probe(struct usb_interface *intf,  	/* Allocate memory for our private */  	if (!(sisusb = kzalloc(sizeof(*sisusb), GFP_KERNEL))) { -		dev_err(&sisusb->sisusb_dev->dev, "Failed to allocate memory for private data\n"); +		dev_err(&dev->dev, "Failed to allocate memory for private data\n");  		return -ENOMEM;  	}  	kref_init(&sisusb->kref); diff --git a/drivers/usb/misc/usb3503.c b/drivers/usb/misc/usb3503.c index f713f6aeb6e..d3a1cce1bf9 100644 --- a/drivers/usb/misc/usb3503.c +++ b/drivers/usb/misc/usb3503.c @@ -307,18 +307,7 @@ static struct i2c_driver usb3503_driver = {  	.id_table	= usb3503_id,  }; -static int __init usb3503_init(void) -{ -	return i2c_add_driver(&usb3503_driver); -} - -static void __exit usb3503_exit(void) -{ -	i2c_del_driver(&usb3503_driver); -} - -module_init(usb3503_init); -module_exit(usb3503_exit); +module_i2c_driver(usb3503_driver);  MODULE_AUTHOR("Dongjin Kim <tobetter@gmail.com>");  MODULE_DESCRIPTION("USB3503 USB HUB driver"); diff --git a/drivers/usb/misc/uss720.c b/drivers/usb/misc/uss720.c index 29cad9e0a7a..e129cf66122 100644 --- a/drivers/usb/misc/uss720.c +++ b/drivers/usb/misc/uss720.c @@ -705,7 +705,7 @@ static int uss720_probe(struct usb_interface *intf,  		return -ENODEV;  	}  	i = usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 2); -	dev_dbg(&intf->dev, "set inteface result %d\n", i); +	dev_dbg(&intf->dev, "set interface result %d\n", i);  	interface = intf->cur_altsetting;  |