redeclare uint8 and uint pointer to handle 64bit kernel.
bug
1435883
Change-Id: Ic56f78052eb62adc0da6a06903d96298e6868000
Reviewed-on: http://git-master/r/358527
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: http://git-master/r/361710
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
#endif
#ifndef TYPEDEF_UINTPTR
+#ifdef CONFIG_COMPAT
+typedef unsigned long long int uintptr;
+#else
typedef unsigned int uintptr;
#endif
+#endif
#ifndef TYPEDEF_INT8
typedef signed char int8;
};
typedef struct android_wifi_priv_cmd {
+#ifdef CONFIG_COMPAT
+ u32 buf;
+#else
char *buf;
+#endif
int used_len;
int total_len;
} android_wifi_priv_cmd;