projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4651db9
)
Staging: comedi: Remove counter_mode_register_t typedef
author
Bill Pemberton
<wfp5p@virginia.edu>
Tue, 17 Mar 2009 02:09:07 +0000
(22:09 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 3 Apr 2009 21:54:01 +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/s526.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/comedi/drivers/s526.c
b/drivers/staging/comedi/drivers/s526.c
index e5ee54332e8ad48d7b2e64339bde120ae47910d0..08666e637e47e9e15451915620d59456e75362ca 100644
(file)
--- a/
drivers/staging/comedi/drivers/s526.c
+++ b/
drivers/staging/comedi/drivers/s526.c
@@
-112,7
+112,7
@@
static const int s526_ports[] = {
REG_EEC
};
-
typedef struc
t {
+
struct counter_mode_register_
t {
unsigned short coutSource:1;
unsigned short coutPolarity:1;
unsigned short autoLoadResetRcap:3;
@@
-124,10
+124,10
@@
typedef struct {
unsigned short outputRegLatchCtrl:1;
unsigned short preloadRegSel:1;
unsigned short reserved:1;
-}
counter_mode_register_t
;
+};
union {
- counter_mode_register_t reg;
+
struct
counter_mode_register_t reg;
unsigned short value;
} cmReg;