Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65688
b: refs/heads/master
c: 667c7bc
h: refs/heads/master
v: v3
  • Loading branch information
Andi Drebes authored and Mauro Carvalho Chehab committed Oct 10, 2007
1 parent d38069e commit 4570a02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af520a3478b59476ed61eddee73948807398e358
refs/heads/master: 667c7bc0aff18288186f1223784b57f77be7d81b
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/dvb-usb/vp7045.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ static int vp7045_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
return 0;
}

for (i = 0; i < sizeof(vp7045_rc_keys)/sizeof(struct dvb_usb_rc_key); i++)
for (i = 0; i < ARRAY_SIZE(vp7045_rc_keys); i++)
if (vp7045_rc_keys[i].data == key) {
*state = REMOTE_KEY_PRESSED;
*event = vp7045_rc_keys[i].event;
Expand Down

0 comments on commit 4570a02

Please sign in to comment.