diff options
| author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-08-15 21:57:34 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-12 18:24:26 -0700 |
| commit | 88defe2b35f1b765dbfe9a800c443c31400a4e13 (patch) | |
| tree | 695d55dbc8056e5cc7672b899baebcb0e7d4a5b2 /drivers/staging/vt6655/device.h | |
| parent | staging: vt6655: replace typedef struct tagRDES1 (diff) | |
| download | linux-88defe2b35f1b765dbfe9a800c443c31400a4e13.tar.gz linux-88defe2b35f1b765dbfe9a800c443c31400a4e13.zip | |
staging: vt6655: replace typedef struct tagDEVICE_RD_INFO
with struct vnt_rd_info
volatile is removed because it will generate a warning
(in any case this member is not) and renaming rd_info.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/device.h')
| -rw-r--r-- | drivers/staging/vt6655/device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index c9fa6ef42d34..80cc17005d8f 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -410,9 +410,9 @@ struct vnt_private { struct ieee80211_low_level_stats low_stats; }; -static inline PDEVICE_RD_INFO alloc_rd_info(void) +static inline struct vnt_rd_info *alloc_rd_info(void) { - return kzalloc(sizeof(DEVICE_RD_INFO), GFP_ATOMIC); + return kzalloc(sizeof(struct vnt_rd_info), GFP_ATOMIC); } static inline struct vnt_td_info *alloc_td_info(void) |
