Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141629
b: refs/heads/master
c: 8532530
h: refs/heads/master
i:
  141627: 609d09c
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 20f2105 commit 024dfb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: b3fb588d463c575706fe80e9c30bf4b1c7702034
refs/heads/master: 8532530040c05ab60e7d83c705713ef2629cd3bb
8 changes: 5 additions & 3 deletions trunk/drivers/staging/comedi/drivers/ssv_dnp.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ static const dnp_board dnp_boards[] = { /* we only support one DNP 'board' */
#define thisboard ((const dnp_board *)dev->board_ptr)

/* This structure is for data unique to the DNP driver --------------------- */
typedef struct {
struct dnp_private_data {

//
} dnp_private_data;
};


/* Shorthand macro for faster access to the private data ------------------- */
#define devpriv ((dnp_private *)dev->private)
Expand Down Expand Up @@ -131,7 +133,7 @@ static int dnp_attach(struct comedi_device * dev, struct comedi_devconfig * it)

/* Allocate the private structure area. alloc_private() is a convenient */
/* macro defined in comedidev.h. */
if (alloc_private(dev, sizeof(dnp_private_data)) < 0)
if (alloc_private(dev, sizeof(struct dnp_private_data)) < 0)
return -ENOMEM;

/* Allocate the subdevice structures. alloc_subdevice() is a convenient */
Expand Down

0 comments on commit 024dfb6

Please sign in to comment.