From: Bill Pemberton Date: Tue, 17 Mar 2009 02:12:43 +0000 (-0400) Subject: Staging: comedi: Remove raw_channel typedef X-Git-Tag: v3.0~9828^2~206 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2deee55e66d0de60ca28703da5aba8bdaf27b4ba;p=platform%2Fkernel%2Flinux-amlogic.git Staging: comedi: Remove raw_channel typedef Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/jr3_pci.h b/drivers/staging/comedi/drivers/jr3_pci.h index 4576dd2..43d1411 100644 --- a/drivers/staging/comedi/drivers/jr3_pci.h +++ b/drivers/staging/comedi/drivers/jr3_pci.h @@ -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. @@ -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. */