diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2007-07-30 16:02:17 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:03:49 -0400 |
commit | 8779737b8e01b95fe6f1e33dc90ea621281c7b67 (patch) | |
tree | 265d666bd3faa30e041927efe354b2826de76997 /drivers/media/dvb/dvb-usb | |
parent | 1f8ca4b37355cc56a4d25d5698a894ec46964f83 (diff) |
V4L/DVB (5959): Fix for size of remote keys in DiB0700
Fix for size of remote control keys in DiB0700.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dib0700_devices.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c index b0ae5b731296..a2b2830f978a 100644 --- a/drivers/media/dvb/dvb-usb/dib0700_devices.c +++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c | |||
@@ -914,7 +914,7 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
914 | 914 | ||
915 | .rc_interval = DEFAULT_RC_INTERVAL, | 915 | .rc_interval = DEFAULT_RC_INTERVAL, |
916 | .rc_key_map = dib0700_rc_keys, | 916 | .rc_key_map = dib0700_rc_keys, |
917 | .rc_key_map_size = sizeof(dib0700_rc_keys), | 917 | .rc_key_map_size = ARRAY_SIZE(dib0700_rc_keys), |
918 | .rc_query = dib0700_rc_query | 918 | .rc_query = dib0700_rc_query |
919 | }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, | 919 | }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, |
920 | 920 | ||
@@ -955,7 +955,7 @@ struct dvb_usb_device_properties dib0700_devices[] = { | |||
955 | 955 | ||
956 | .rc_interval = DEFAULT_RC_INTERVAL, | 956 | .rc_interval = DEFAULT_RC_INTERVAL, |
957 | .rc_key_map = dib0700_rc_keys, | 957 | .rc_key_map = dib0700_rc_keys, |
958 | .rc_key_map_size = sizeof(dib0700_rc_keys), | 958 | .rc_key_map_size = ARRAY_SIZE(dib0700_rc_keys), |
959 | .rc_query = dib0700_rc_query | 959 | .rc_query = dib0700_rc_query |
960 | 960 | ||
961 | }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, | 961 | }, { DIB0700_DEFAULT_DEVICE_PROPERTIES, |