diff options
author | Marek Belisko <marek.belisko@open-nandra.com> | 2010-10-16 20:37:25 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-19 17:08:10 (GMT) |
commit | 29437ab09f9c49d1422b79eedc7718cd689286b8 (patch) | |
tree | f8fc417eb0b9f27513c71d759310b27260733067 /drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | |
parent | a1277d85dc15a829d97b027de6e1f049c29a9306 (diff) | |
download | linux-29437ab09f9c49d1422b79eedc7718cd689286b8.tar.xz |
staging: ft1000: Get rid of using typedef.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/ft1000/ft1000-usb/ft1000_usb.h')
-rw-r--r-- | drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index 2bc27f5..302a03c 100644 --- a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h +++ b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h @@ -561,10 +561,10 @@ typedef struct _FT1000_INFO { } FT1000_INFO, *PFT1000_INFO; -typedef struct _DPRAM_BLK { +struct dpram_blk { struct list_head list; u16 *pbuffer; -} __attribute__ ((packed)) DPRAM_BLK, *PDPRAM_BLK; +} __attribute__ ((packed)); u16 ft1000_read_register(struct ft1000_device *ft1000dev, u16* Data, u16 nRegIndx); u16 ft1000_write_register(struct ft1000_device *ft1000dev, USHORT value, u16 nRegIndx); @@ -589,8 +589,8 @@ int ft1000_CreateDevice(struct ft1000_device *dev); void ft1000_DestroyDevice(struct net_device *dev); extern void CardSendCommand(struct ft1000_device *ft1000dev, void *ptempbuffer, int size); -PDPRAM_BLK ft1000_get_buffer (struct list_head *bufflist); -void ft1000_free_buffer (PDPRAM_BLK pdpram_blk, struct list_head *plist); +struct dpram_blk *ft1000_get_buffer(struct list_head *bufflist); +void ft1000_free_buffer(struct dpram_blk *pdpram_blk, struct list_head *plist); char *getfw (char *fn, size_t *pimgsz); |