mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 05:01:48 +00:00
[PATCH] dvb: usb: dtt200u: add proper device names
Added names for clones of the DVB-T stick. Whitespace cleanups. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
43bc3f41e4
commit
62703b9d72
@ -106,12 +106,11 @@ static int dtt200u_usb_probe(struct usb_interface *intf,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct usb_device_id dtt200u_usb_table [] = {
|
static struct usb_device_id dtt200u_usb_table [] = {
|
||||||
// { USB_DEVICE(0x04b4,0x8613) },
|
{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_DTT200U_COLD) },
|
||||||
{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_DTT200U_COLD) },
|
{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_DTT200U_WARM) },
|
||||||
{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_DTT200U_WARM) },
|
{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_WT220U_COLD) },
|
||||||
{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_WT220U_COLD) },
|
{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_WT220U_WARM) },
|
||||||
{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_WT220U_WARM) },
|
{ 0 },
|
||||||
{ 0 },
|
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(usb, dtt200u_usb_table);
|
MODULE_DEVICE_TABLE(usb, dtt200u_usb_table);
|
||||||
|
|
||||||
@ -189,7 +188,7 @@ static struct dvb_usb_properties wt220u_properties = {
|
|||||||
|
|
||||||
.num_device_descs = 1,
|
.num_device_descs = 1,
|
||||||
.devices = {
|
.devices = {
|
||||||
{ .name = "WideView WT-220U PenType Receiver (and clones)",
|
{ .name = "WideView WT-220U PenType Receiver (Typhoon/Freecom)",
|
||||||
.cold_ids = { &dtt200u_usb_table[2], NULL },
|
.cold_ids = { &dtt200u_usb_table[2], NULL },
|
||||||
.warm_ids = { &dtt200u_usb_table[3], NULL },
|
.warm_ids = { &dtt200u_usb_table[3], NULL },
|
||||||
},
|
},
|
||||||
@ -201,9 +200,9 @@ static struct dvb_usb_properties wt220u_properties = {
|
|||||||
static struct usb_driver dtt200u_usb_driver = {
|
static struct usb_driver dtt200u_usb_driver = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.name = "dvb_usb_dtt200u",
|
.name = "dvb_usb_dtt200u",
|
||||||
.probe = dtt200u_usb_probe,
|
.probe = dtt200u_usb_probe,
|
||||||
.disconnect = dvb_usb_device_exit,
|
.disconnect = dvb_usb_device_exit,
|
||||||
.id_table = dtt200u_usb_table,
|
.id_table = dtt200u_usb_table,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* module stuff */
|
/* module stuff */
|
||||||
|
Loading…
Reference in New Issue
Block a user