Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141525
b: refs/heads/master
c: c350fa1
h: refs/heads/master
i:
  141523: bb9ef03
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 2805711 commit c3b3ef5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 940579fbae1a3a8967fe619562c8e78080dd873d
refs/heads/master: c350fa1944f4ec1fe392ce0f3fc879f3899bb15d
8 changes: 4 additions & 4 deletions trunk/drivers/staging/comedi/drivers/adl_pci9111.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ COMEDI_PCI_INITCLEANUP(pci9111_driver, pci9111_pci_table);
// Private data structure
//

typedef struct {
struct pci9111_private_data {
struct pci_dev *pci_device;
unsigned long io_range; // PCI6503 io range

Expand All @@ -362,9 +362,9 @@ typedef struct {
int is_valid; // Is device valid

short ai_bounce_buffer[2 * PCI9111_FIFO_HALF_SIZE];
} pci9111_private_data_struct;
};

#define dev_private ((pci9111_private_data_struct *)dev->private)
#define dev_private ((struct pci9111_private_data *)dev->private)

// ------------------------------------------------------------------
//
Expand Down Expand Up @@ -1254,7 +1254,7 @@ static int pci9111_attach(struct comedi_device * dev, struct comedi_devconfig *
int error, i;
const struct pci9111_board *board;

if (alloc_private(dev, sizeof(pci9111_private_data_struct)) < 0) {
if (alloc_private(dev, sizeof(struct pci9111_private_data)) < 0) {
return -ENOMEM;
}
//
Expand Down

0 comments on commit c3b3ef5

Please sign in to comment.