staging: csr: Fix up version.h includes
[cascardo/linux.git] / drivers / staging / csr / sme_native.c
index 2091109..845b654 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #include <linux/netdevice.h>
-
+#include <linux/version.h>
 #include "unifi_priv.h"
 #include "csr_wifi_hip_unifi.h"
 #include "csr_wifi_hip_conversions.h"
@@ -71,7 +71,7 @@ uf_sme_deinit(unifi_priv_t *priv)
 int sme_mgt_wifi_on(unifi_priv_t *priv)
 {
     int r,i;
-    CsrInt32 csrResult;
+    s32 csrResult;
 
     if (priv == NULL) {
         return -EINVAL;
@@ -249,7 +249,7 @@ sme_native_log_event(ul_client_t *pcli,
     if (r == 0) {
         signal_len = SigGetSize(&signal);
     } else {
-        CsrUint16 receiver_id = CSR_GET_UINT16_FROM_LITTLE_ENDIAN((sig_packed) + sizeof(CsrUint16)) & 0xFF00;
+        u16 receiver_id = CSR_GET_UINT16_FROM_LITTLE_ENDIAN((sig_packed) + sizeof(u16)) & 0xFF00;
 
         /* The control indications are 1 byte, pass them to client. */
         if (sig_len == 1) {
@@ -395,10 +395,10 @@ unifi_ta_indicate_sampling(void *ospriv, CsrWifiRouterCtrlTrafficStats *stats)
 
 void
 unifi_ta_indicate_l4stats(void *ospriv,
-                            CsrUint32 rxTcpThroughput,
-                            CsrUint32 txTcpThroughput,
-                            CsrUint32 rxUdpThroughput,
-                            CsrUint32 txUdpThroughput)
+                            u32 rxTcpThroughput,
+                            u32 txTcpThroughput,
+                            u32 rxUdpThroughput,
+                            u32 txUdpThroughput)
 {
 
 } /* unifi_ta_indicate_l4stats() */