Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141634
b: refs/heads/master
c: 2e2269f
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 3f836f3 commit 326a860
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 83101a1770982817ecbcb7679439352795bc7a47
refs/heads/master: 2e2269f90f2bb4e9438849f0690daba5cba29fc5
10 changes: 6 additions & 4 deletions trunk/drivers/staging/comedi/drivers/ke_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,13 @@ static const struct cnt_board_struct cnt_boards[] = {

/*-- device private structure -----------------------------------------------*/

typedef struct {
struct cnt_device_private {

struct pci_dev *pcidev;
} cnt_device_private;
};


#define devpriv ((cnt_device_private *)dev->private)
#define devpriv ((struct cnt_device_private *)dev->private)

static struct comedi_driver cnt_driver = {
driver_name:CNT_DRIVER_NAME,
Expand Down Expand Up @@ -155,7 +157,7 @@ static int cnt_attach(struct comedi_device * dev, struct comedi_devconfig * it)
int error, i;

/* allocate device private structure */
if ((error = alloc_private(dev, sizeof(cnt_device_private))) < 0) {
if ((error = alloc_private(dev, sizeof(struct cnt_device_private))) < 0) {
return error;
}

Expand Down

0 comments on commit 326a860

Please sign in to comment.