summaryrefslogtreecommitdiff
path: root/drivers/staging/wlan-ng/prism2usb.c
diff options
context:
space:
mode:
authorsayli karnik <karniksayli1995@gmail.com>2016-09-18 15:11:14 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-18 12:39:31 +0200
commitc9573a8d1963ba82f163c4d113266da82c048c21 (patch)
tree0ae1a73217478188f3fd5ce0baaee874951757ff /drivers/staging/wlan-ng/prism2usb.c
parentcbb351ccdfa1e2b3261a024fae7980597f56549f (diff)
staging: wlan-ng: Remove the typedef to the 'wlandevice' structure
This patch removes the typedef 'wlandevice_t' to the 'wlandevice' structure. Signed-off-by: sayli karnik <karniksayli1995@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/prism2usb.c')
-rw-r--r--drivers/staging/wlan-ng/prism2usb.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/wlan-ng/prism2usb.c b/drivers/staging/wlan-ng/prism2usb.c
index 0463ec16802c..3561487d49e1 100644
--- a/drivers/staging/wlan-ng/prism2usb.c
+++ b/drivers/staging/wlan-ng/prism2usb.c
@@ -61,7 +61,7 @@ static int prism2sta_probe_usb(struct usb_interface *interface,
{
struct usb_device *dev;
- wlandevice_t *wlandev = NULL;
+ struct wlandevice *wlandev = NULL;
hfa384x_t *hw = NULL;
int result = 0;
@@ -134,9 +134,9 @@ done:
static void prism2sta_disconnect_usb(struct usb_interface *interface)
{
- wlandevice_t *wlandev;
+ struct wlandevice *wlandev;
- wlandev = (wlandevice_t *)usb_get_intfdata(interface);
+ wlandev = (struct wlandevice *)usb_get_intfdata(interface);
if (wlandev) {
LIST_HEAD(cleanlist);
hfa384x_usbctlx_t *ctlx, *temp;
@@ -219,9 +219,9 @@ static int prism2sta_suspend(struct usb_interface *interface,
pm_message_t message)
{
hfa384x_t *hw = NULL;
- wlandevice_t *wlandev;
+ struct wlandevice *wlandev;
- wlandev = (wlandevice_t *)usb_get_intfdata(interface);
+ wlandev = (struct wlandevice *)usb_get_intfdata(interface);
if (!wlandev)
return -ENODEV;
@@ -242,9 +242,9 @@ static int prism2sta_resume(struct usb_interface *interface)
{
int result = 0;
hfa384x_t *hw = NULL;
- wlandevice_t *wlandev;
+ struct wlandevice *wlandev;
- wlandev = (wlandevice_t *)usb_get_intfdata(interface);
+ wlandev = (struct wlandevice *)usb_get_intfdata(interface);
if (!wlandev)
return -ENODEV;