]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/staging/comedi/drivers/jr3_pci.h
Staging: comedi: Remove jr3_channel_t typedef
[mirror_ubuntu-hirsute-kernel.git] / drivers / staging / comedi / drivers / jr3_pci.h
index d98aaa7c6f5cf1ca337e7565c5a6ba21559ecc36..3585f2941bca1810c32d4e166e2dea9123211769 100644 (file)
@@ -264,7 +264,7 @@ struct intern_transform {
 /*  JR3 force/torque sensor data definition. For more information see sensor and */
 /*  hardware manuals. */
 
-typedef struct force_sensor_data {
+struct jr3_channel {
        /*  Raw_channels is the area used to store the raw data coming from */
        /*  the sensor. */
 
@@ -667,12 +667,12 @@ typedef struct force_sensor_data {
         */
 
        struct intern_transform transforms[0x10];       /* offset 0x0200 */
-} jr3_channel_t;
+};
 
 struct jr3_t {
        struct {
                u32 program_low[0x4000];        /*  0x00000 - 0x10000 */
-               jr3_channel_t data;     /*  0x10000 - 0x10c00 */
+               struct jr3_channel data;        /*  0x10000 - 0x10c00 */
                char pad2[0x30000 - 0x00c00];   /*  0x10c00 - 0x40000 */
                u32 program_high[0x8000];       /*  0x40000 - 0x60000 */
                u32 reset;      /*  0x60000 - 0x60004 */