projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d2b37c
)
[media] dvb_usb_v2: use keyword const for USB ID table
author
Antti Palosaari
<crope@iki.fi>
Tue, 12 Jun 2012 04:34:22 +0000
(
01:34
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:30 +0000
(07:56 -0300)
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>
drivers/media/dvb/dvb-usb/dvb_usb.h
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/dvb-usb/dvb_usb.h
b/drivers/media/dvb/dvb-usb/dvb_usb.h
index
fd6237a
..
b443817
100644
(file)
--- 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), \