Skip to content

Commit

Permalink
V4L/DVB (5959): Fix for size of remote keys in DiB0700
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Patrick Boettcher authored and Mauro Carvalho Chehab committed Oct 10, 2007
1 parent 1f8ca4b commit 8779737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb/dvb-usb/dib0700_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 8779737

Please sign in to comment.