Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307204
b: refs/heads/master
c: 3801a7f
h: refs/heads/master
v: v3
  • Loading branch information
Dave Airlie authored and Daniel Vetter committed Apr 20, 2012
1 parent 3cce8d5 commit 046c24b
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: 31b14c9fc596a68a2a982d7e3c136922f81a2e25
refs/heads/master: 3801a7fd8615365a58960561d3bd3479b485ed3e
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/i915/intel_tv.c
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ intel_tv_mode_lookup(const char *tv_format)
{
int i;

for (i = 0; i < sizeof(tv_modes) / sizeof(tv_modes[0]); i++) {
for (i = 0; i < ARRAY_SIZE(tv_modes); i++) {
const struct tv_mode *tv_mode = &tv_modes[i];

if (!strcmp(tv_format, tv_mode->name))
Expand Down

0 comments on commit 046c24b

Please sign in to comment.