[media] dvb_usb_v2: use keyword const for USB ID table

Let optimize that code to the text segment.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Antti Palosaari 2012-06-12 01:34:22 -03:00 committed by Mauro Carvalho Chehab
parent 2d2b37c75a
commit acaec14f3e

View File

@ -32,7 +32,7 @@ struct dvb_usb_driver_info {
.match_flags = USB_DEVICE_ID_MATCH_DEVICE, \
.idVendor = (vend), \
.idProduct = (prod), \
.driver_info = (kernel_ulong_t) &((struct dvb_usb_driver_info) { \
.driver_info = (kernel_ulong_t) &((const struct dvb_usb_driver_info) { \
.props = (props_), \
.name = (name_), \
.rc_map = (rc), \