summaryrefslogtreecommitdiff
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorHarshavardhan Nalajala <hnalajala@nvidia.com>2013-12-30 18:16:07 +0530
committerTom Cherry <tcherry@nvidia.com>2014-01-22 16:02:36 -0800
commit575b8364f5fb218ff1374abb2b4414dae45cac11 (patch)
tree93d3f20af1f17404a69c4d089ddb5824745a7424 /drivers/net/wireless
parent71f5e2be9c3ceb39fef5ea1d9f4a4145c395cf2b (diff)
net: wireless: SD8897: re-declare char pointer
Re-declare character pointer to u32 to be compatible with 64bit kernel. bug 1408536 Change-Id: I5d264a68b0df4b0057b1eafe52b2b4d06dc00ac9 Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com> Reviewed-on: http://git-master/r/350584 Reviewed-by: Shashank Garg <sgarg@nvidia.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/sd8897/mlinux/moal_eth_ioctl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/sd8897/mlinux/moal_eth_ioctl.h b/drivers/net/wireless/sd8897/mlinux/moal_eth_ioctl.h
index 1c157c599e29..da353807233e 100644
--- a/drivers/net/wireless/sd8897/mlinux/moal_eth_ioctl.h
+++ b/drivers/net/wireless/sd8897/mlinux/moal_eth_ioctl.h
@@ -227,7 +227,11 @@ int woal_do_ioctl(struct net_device *dev, struct ifreq *req, int cmd);
/** Private command structure from app */
typedef struct _android_wifi_priv_cmd {
/** Buffer pointer */
+#ifdef CONFIG_COMPAT
+ u32 buf;
+#else
char *buf;
+#endif
/** buffer updated by driver */
int used_len;
/** buffer sent by application */