From: Malcolm Priestley Date: Sun, 10 Aug 2014 14:47:03 +0000 (+0100) Subject: staging: vt6655: remove typedef from struct vnt_private X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=80f598ae8a8dbe7d56e9d08d205405dd9f6aecdd;p=linux-beck.git staging: vt6655: remove typedef from struct vnt_private Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 878b6d272555..e1a322fa9c02 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -337,8 +337,7 @@ typedef struct __device_opt { u32 flags; } OPTIONS, *POPTIONS; -/* TODO Convert all functions to struct vnt_private and remove typedef */ -typedef struct vnt_private { +struct vnt_private { struct vnt_private *next; struct vnt_private *prev; @@ -743,7 +742,7 @@ typedef struct vnt_private { struct iw_statistics wstats; // wireless stats bool bCommit; -} DEVICE_INFO, *PSDevice; +}; static inline bool device_get_ip(struct vnt_private *pInfo) {