diff options
author | Antti Palosaari <crope@iki.fi> | 2012-06-12 04:34:22 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-04 10:56:30 (GMT) |
commit | acaec14f3e75735aa473f881e540cdc6e43fabcc (patch) | |
tree | 60caf6096f13f060a3f132d6944b7f75640a9e4e | |
parent | 2d2b37c75a4f5eb919c10674a8c2f0f5a3ac40ec (diff) | |
download | linux-acaec14f3e75735aa473f881e540cdc6e43fabcc.tar.xz |
[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>
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb_usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/dvb_usb.h b/drivers/media/dvb/dvb-usb/dvb_usb.h index fd6237a..b443817 100644 --- a/drivers/media/dvb/dvb-usb/dvb_usb.h +++ b/drivers/media/dvb/dvb-usb/dvb_usb.h @@ -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), \ |