projects
/
openwrt
/
staging
/
blogic.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 fd6237a3a4ceea4bdda29e035ebd80e1e4553c46..b4438173b25cad9608688541310156b6b0a79cfa 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), \