summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2007-07-30 22:02:17 +0200
committerPatrick Boettcher <pb@linuxtv.org>2007-07-30 22:02:17 +0200
commit14c70b571ea518ad7986f209fc1a6278853b9124 (patch)
tree59d23a46bff08faee45f0f9c54dba6c85b58dec4 /linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
parent164b2f8ca8de0ccca86b6dff236072a72567fbc1 (diff)
downloadmediapointer-dvb-s2-14c70b571ea518ad7986f209fc1a6278853b9124.tar.gz
mediapointer-dvb-s2-14c70b571ea518ad7986f209fc1a6278853b9124.tar.bz2
Fix for size of remote keys in DiB0700
From: Patrick Boettcher <pb@linuxtv.org> Fix for size of remote control keys in DiB0700. Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/dib0700_devices.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/dib0700_devices.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
index b0ae5b731..a2b2830f9 100644
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -914,7 +914,7 @@ struct dvb_usb_device_properties dib0700_devices[] = {
.rc_interval = DEFAULT_RC_INTERVAL,
.rc_key_map = dib0700_rc_keys,
- .rc_key_map_size = sizeof(dib0700_rc_keys),
+ .rc_key_map_size = ARRAY_SIZE(dib0700_rc_keys),
.rc_query = dib0700_rc_query
}, { DIB0700_DEFAULT_DEVICE_PROPERTIES,
@@ -955,7 +955,7 @@ struct dvb_usb_device_properties dib0700_devices[] = {
.rc_interval = DEFAULT_RC_INTERVAL,
.rc_key_map = dib0700_rc_keys,
- .rc_key_map_size = sizeof(dib0700_rc_keys),
+ .rc_key_map_size = ARRAY_SIZE(dib0700_rc_keys),
.rc_query = dib0700_rc_query
}, { DIB0700_DEFAULT_DEVICE_PROPERTIES,