Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200703
b: refs/heads/master
c: 821e67a
h: refs/heads/master
i:
  200701: 078e07b
  200699: 471348f
  200695: 36b1176
  200687: 1940b19
  200671: 8833c4a
  200639: d089536
  200575: 3144212
  200447: 5477c92
  200191: 7bbce07
  199679: 813dfd2
  198655: 505a0da
  196607: 01bac5e
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Jun 30, 2010
1 parent 4a8f3ae commit 6a55196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 15d93ed070125d51693f102a0f94045dcaf30d9b
refs/heads/master: 821e67a135d8773c8e9c0b97088b2e64c3d0d631
3 changes: 1 addition & 2 deletions trunk/drivers/staging/comedi/drivers/cb_pcidda.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ Please report success/failure with other different cards to
#include "8255.h"

#define PCI_VENDOR_ID_CB 0x1307 /* PCI vendor number of ComputerBoards */
#define N_BOARDS 10 /* Number of boards in cb_pcidda_boards */
#define EEPROM_SIZE 128 /* number of entries in eeprom */
#define MAX_AO_CHANNELS 8 /* maximum number of ao channels for supported boards */

Expand Down Expand Up @@ -307,7 +306,7 @@ static int cb_pcidda_attach(struct comedi_device *dev,
continue;
}
}
for (index = 0; index < N_BOARDS; index++) {
for (index = 0; index < ARRAY_SIZE(cb_pcidda_boards); index++) {
if (cb_pcidda_boards[index].device_id ==
pcidev->device) {
goto found;
Expand Down

0 comments on commit 6a55196

Please sign in to comment.