mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 03:42:52 +00:00
[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:
parent
2d2b37c75a
commit
acaec14f3e
@ -32,7 +32,7 @@ struct dvb_usb_driver_info {
|
|||||||
.match_flags = USB_DEVICE_ID_MATCH_DEVICE, \
|
.match_flags = USB_DEVICE_ID_MATCH_DEVICE, \
|
||||||
.idVendor = (vend), \
|
.idVendor = (vend), \
|
||||||
.idProduct = (prod), \
|
.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_), \
|
.props = (props_), \
|
||||||
.name = (name_), \
|
.name = (name_), \
|
||||||
.rc_map = (rc), \
|
.rc_map = (rc), \
|
||||||
|
Loading…
Reference in New Issue
Block a user