diff options
author | Edgardo Hames <ehames@gmail.com> | 2010-07-31 12:29:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-02 21:20:03 -0400 |
commit | e5bdbb90299f7b8d2d88994af8541e7804833e2a (patch) | |
tree | 89d64c2e5dc1929f0607bfae0cc7c71b9e05a653 /drivers/staging/wlan-ng | |
parent | 51e4896adad00a066fad65649405c1c9fa108157 (diff) |
Staging: wlan-ng: remove typedef in p80211ioctl.h
This patches removes the only typedef in p80211ioctl.h
Signed-off-by: Edgardo Hames <ehames@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng')
-rw-r--r-- | drivers/staging/wlan-ng/p80211ioctl.h | 4 | ||||
-rw-r--r-- | drivers/staging/wlan-ng/p80211netdev.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wlan-ng/p80211ioctl.h b/drivers/staging/wlan-ng/p80211ioctl.h index 64ca7f95262..0d47765452e 100644 --- a/drivers/staging/wlan-ng/p80211ioctl.h +++ b/drivers/staging/wlan-ng/p80211ioctl.h | |||
@@ -78,12 +78,12 @@ | |||
78 | /* argument to the ioctl system call when issuing a request to */ | 78 | /* argument to the ioctl system call when issuing a request to */ |
79 | /* the p80211 module. */ | 79 | /* the p80211 module. */ |
80 | 80 | ||
81 | typedef struct p80211ioctl_req { | 81 | struct p80211ioctl_req { |
82 | char name[WLAN_DEVNAMELEN_MAX]; | 82 | char name[WLAN_DEVNAMELEN_MAX]; |
83 | caddr_t data; | 83 | caddr_t data; |
84 | u32 magic; | 84 | u32 magic; |
85 | u16 len; | 85 | u16 len; |
86 | u32 result; | 86 | u32 result; |
87 | } __attribute__ ((packed)) p80211ioctl_req_t; | 87 | } __attribute__ ((packed)); |
88 | 88 | ||
89 | #endif /* _P80211IOCTL_H */ | 89 | #endif /* _P80211IOCTL_H */ |
diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index 5b68af04d4e..a57ac5265a0 100644 --- a/drivers/staging/wlan-ng/p80211netdev.c +++ b/drivers/staging/wlan-ng/p80211netdev.c | |||
@@ -560,7 +560,7 @@ static int p80211netdev_ethtool(wlandevice_t *wlandev, void __user *useraddr) | |||
560 | static int p80211knetdev_do_ioctl(netdevice_t *dev, struct ifreq *ifr, int cmd) | 560 | static int p80211knetdev_do_ioctl(netdevice_t *dev, struct ifreq *ifr, int cmd) |
561 | { | 561 | { |
562 | int result = 0; | 562 | int result = 0; |
563 | p80211ioctl_req_t *req = (p80211ioctl_req_t *) ifr; | 563 | struct p80211ioctl_req *req = (struct p80211ioctl_req *) ifr; |
564 | wlandevice_t *wlandev = dev->ml_priv; | 564 | wlandevice_t *wlandev = dev->ml_priv; |
565 | u8 *msgbuf; | 565 | u8 *msgbuf; |
566 | 566 | ||