Skip to content

Commit

Permalink
Staging: comedi: Remove raw_channel typedef
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 0642feb commit 2deee55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/comedi/drivers/jr3_pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ static inline void set_s16(volatile s32 * p, s16 val)
* varies with different sensors.
*/

typedef struct raw_channel {
struct raw_channel {
u32 raw_time;
s32 raw_data;
s32 reserved[2];
} raw_channel_t;
};

/* The force_array structure shows the layout for the decoupled and
* filtered force data.
Expand Down Expand Up @@ -267,7 +267,7 @@ typedef struct force_sensor_data {
/* Raw_channels is the area used to store the raw data coming from */
/* the sensor. */

raw_channel_t raw_channels[16]; /* offset 0x0000 */
struct raw_channel raw_channels[16]; /* offset 0x0000 */

/* Copyright is a null terminated ASCII string containing the JR3 */
/* copyright notice. */
Expand Down

0 comments on commit 2deee55

Please sign in to comment.