diff options
author | 2010-10-15 14:13:02 +0200 | |
---|---|---|
committer | 2010-10-15 12:30:39 -0700 | |
commit | b13e39b2f7e7e313e97cd11ee65e5348afe448fb (patch) | |
tree | 519d40bc88b25663bcda08eaf3109dce444d98cd /drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h | |
parent | staging: ft1000: Remove PROV_RECORD typedef usage. (diff) | |
download | linux-b13e39b2f7e7e313e97cd11ee65e5348afe448fb.tar.gz linux-b13e39b2f7e7e313e97cd11ee65e5348afe448fb.tar.bz2 linux-b13e39b2f7e7e313e97cd11ee65e5348afe448fb.zip |
staging: ft1000: Remove PSEUDO_HDR typedef usage.
Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h')
-rw-r--r-- | drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h b/drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h index e7d3ec8869ac..3f72d5bb3f92 100644 --- a/drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h +++ b/drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h @@ -36,8 +36,7 @@ #define MAX_DNLD_BLKSZ 1024 // Standard Flarion Pseudo header -typedef struct _PSEUDO_HDR -{ +struct pseudo_hdr { unsigned short length; //length of msg body unsigned char source; //source address (0x10=Host 0x20=DSP) unsigned char destination; //destination address (refer to source address) @@ -57,7 +56,7 @@ typedef struct _PSEUDO_HDR unsigned char rsvd2; //reserved unsigned short qos_class; //Quality of Service class (Not applicable on Mobile) unsigned short checksum; //Psuedo header checksum -} __attribute__ ((packed)) PSEUDO_HDR, *PPSEUDO_HDR; +} __attribute__ ((packed)); typedef struct _IOCTL_GET_VER { @@ -106,7 +105,7 @@ typedef struct _IOCTL_GET_DSP_STAT typedef struct _IOCTL_DPRAM_BLK { unsigned short total_len; - PSEUDO_HDR pseudohdr; + struct pseudo_hdr pseudohdr; unsigned char buffer[1780]; } __attribute__ ((packed)) IOCTL_DPRAM_BLK, *PIOCTL_DPRAM_BLK; |