projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
344d23e
)
Staging: comedi: Remove ni_private typedef
author
Bill Pemberton
<wfp5p@virginia.edu>
Tue, 17 Mar 2009 02:16:34 +0000
(22:16 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 3 Apr 2009 21:54:09 +0000
(14:54 -0700)
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_mio_cs.c
patch
|
blob
|
history
diff --git
a/drivers/staging/comedi/drivers/ni_mio_cs.c
b/drivers/staging/comedi/drivers/ni_mio_cs.c
index
9822f5e
..
d6357c2
100644
(file)
--- a/
drivers/staging/comedi/drivers/ni_mio_cs.c
+++ b/
drivers/staging/comedi/drivers/ni_mio_cs.c
@@
-173,11
+173,13
@@
static const ni_board ni_boards[] = {
#define NI_E_IRQ_FLAGS IRQF_SHARED
-typedef struct {
+struct ni_private {
+
struct pcmcia_device *link;
- NI_PRIVATE_COMMON} ni_private;
-#define devpriv ((ni_private *)dev->private)
+ NI_PRIVATE_COMMON};
+
+#define devpriv ((struct ni_private *)dev->private)
/* How we access registers */