summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/drivers/jr3_pci.h
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-03-16 22:12:53 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:54:06 -0700
commit5671c0c2d85203472b02100a517ce5c565e5c1e0 (patch)
tree082d8dd529ea4d310bda5469f8ca6b105186257d /drivers/staging/comedi/drivers/jr3_pci.h
parentcdc14cd0ea064b4838f63073ebf5cd2fdf13f309 (diff)
downloadop-kernel-dev-5671c0c2d85203472b02100a517ce5c565e5c1e0.zip
op-kernel-dev-5671c0c2d85203472b02100a517ce5c565e5c1e0.tar.gz
Staging: comedi: Remove six_axis_array_t typedef
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/drivers/jr3_pci.h')
-rw-r--r--drivers/staging/comedi/drivers/jr3_pci.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/comedi/drivers/jr3_pci.h b/drivers/staging/comedi/drivers/jr3_pci.h
index 06c32f5..325ed05 100644
--- a/drivers/staging/comedi/drivers/jr3_pci.h
+++ b/drivers/staging/comedi/drivers/jr3_pci.h
@@ -64,14 +64,14 @@ struct force_array {
/* The six_axis_array structure shows the layout for the offsets and
* the full scales.
*/
-typedef struct six_axis_array {
+struct six_axis_array {
s32 fx;
s32 fy;
s32 fz;
s32 mx;
s32 my;
s32 mz;
-} six_axis_array_t;
+};
/* VECT_BITS */
/* The vect_bits structure shows the layout for indicating
@@ -296,13 +296,13 @@ typedef struct force_sensor_data {
* command (10) set new full scales (pg. 38).
*/
- six_axis_array_t shunts; /* offset 0x0060 */
+ struct six_axis_array shunts; /* offset 0x0060 */
s32 reserved2[2]; /* offset 0x0066 */
/* Default_FS contains the full scale that is used if the user does */
/* not set a full scale. */
- six_axis_array_t default_FS; /* offset 0x0068 */
+ struct six_axis_array default_FS; /* offset 0x0068 */
s32 reserved3; /* offset 0x006e */
/* Load_envelope_num is the load envelope number that is currently
@@ -339,7 +339,7 @@ typedef struct force_sensor_data {
* cause erroneous results.
*/
- six_axis_array_t min_full_scale; /* offset 0x0070 */
+ struct six_axis_array min_full_scale; /* offset 0x0070 */
s32 reserved4; /* offset 0x0076 */
/* Transform_num is the transform number that is currently in use.
@@ -352,7 +352,7 @@ typedef struct force_sensor_data {
/* Max_full_scale is the recommended maximum full scale. See */
/* min_full_scale (pg. 9) for more details. */
- six_axis_array_t max_full_scale; /* offset 0x0078 */
+ struct six_axis_array max_full_scale; /* offset 0x0078 */
s32 reserved5; /* offset 0x007e */
/* Peak_address is the address of the data which will be monitored
@@ -390,7 +390,7 @@ typedef struct force_sensor_data {
* about Z by 90 degrees, FY would be 5 and all others would be zero.
*/
- six_axis_array_t offsets; /* offset 0x0088 */
+ struct six_axis_array offsets; /* offset 0x0088 */
/* Offset_num is the number of the offset currently in use. This
* value is set by the JR3 DSP after the user has executed the use
OpenPOWER on IntegriCloud