Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141519
b: refs/heads/master
c: c1b31c4
h: refs/heads/master
i:
  141517: f439534
  141515: f3f046e
  141511: 846e243
  141503: 8556f76
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 9421417 commit daef630
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 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: 4753d235e76b14c9f4585d569795a4ccb51485f8
refs/heads/master: c1b31c44a38e2b5153193680e4bee4856b3307e1
11 changes: 6 additions & 5 deletions trunk/drivers/staging/comedi/drivers/adl_pci6208.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ Configuration Options:
#define PCI6208_DRIVER_NAME "adl_pci6208"

/* Board descriptions */
typedef struct {
struct pci6208_board {
const char *name;
unsigned short dev_id; /* `lspci` will show you this */
int ao_chans;
//int ao_bits;
} pci6208_board;
static const pci6208_board pci6208_boards[] = {
};

static const struct pci6208_board pci6208_boards[] = {
/*{
name : "pci6208v",
dev_id : 0x6208, //not sure
Expand Down Expand Up @@ -96,7 +97,7 @@ static DEFINE_PCI_DEVICE_TABLE(pci6208_pci_table) = {
MODULE_DEVICE_TABLE(pci, pci6208_pci_table);

/* Will be initialized in pci6208_find device(). */
#define thisboard ((const pci6208_board *)dev->board_ptr)
#define thisboard ((const struct pci6208_board *)dev->board_ptr)

typedef struct {
int data;
Expand All @@ -110,7 +111,7 @@ static int pci6208_attach(struct comedi_device * dev, struct comedi_devconfig *
static int pci6208_detach(struct comedi_device * dev);

#define pci6208_board_nbr \
(sizeof(pci6208_boards) / sizeof(pci6208_board))
(sizeof(pci6208_boards) / sizeof(struct pci6208_board))

static struct comedi_driver driver_pci6208 = {
driver_name:PCI6208_DRIVER_NAME,
Expand Down

0 comments on commit daef630

Please sign in to comment.