[media] cxusb: Use enum to represent table offsets rather than hard-coding numbers
authorDavid Howells <dhowells@redhat.com>
Tue, 17 Feb 2015 14:30:34 +0000 (11:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 8 Apr 2015 15:36:37 +0000 (12:36 -0300)
commit974e08d8f02fdfc97915054d8e0c7d3cbe6b9e6e
tree1192e5587d74ed8b8e4b2e2350f01ab97789ae1a
parent67a260f1eb5020888b157794007b4bdabdd85898
[media] cxusb: Use enum to represent table offsets rather than hard-coding numbers

Use enum to represent table offsets rather than hard-coding numbers to avoid
problems with the numbers becoming out of sync with the table.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb/cxusb.c