wlan: prima: Update path for including subsystem_restart.h
As a part of the 64-bit effort certain header files are being
relocated. Update the path for including subsystem_restart.h from
mach/subsystem_restart.h to soc/qcom/subsystem_restart.h
Change-Id: I5f24780d148fc37552b845d9fa7206beb6c3dbb2
CRs-Fixed: 627966
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index 1e24dbf..5e1a125 100644
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -103,7 +103,11 @@
#include "sapApi.h"
#include <linux/semaphore.h>
#include <linux/ctype.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0))
+#include <soc/qcom/subsystem_restart.h>
+#else
#include <mach/subsystem_restart.h>
+#endif
#include <wlan_hdd_hostapd.h>
#include <wlan_hdd_softap_tx_rx.h>
#include "cfgApi.h"
diff --git a/CORE/WDI/WPAL/src/wlan_qct_pal_api.c b/CORE/WDI/WPAL/src/wlan_qct_pal_api.c
index 78f2f2e..b67e82a 100644
--- a/CORE/WDI/WPAL/src/wlan_qct_pal_api.c
+++ b/CORE/WDI/WPAL/src/wlan_qct_pal_api.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012,2014 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -51,7 +51,12 @@
#include "vos_api.h"
#include "dma-mapping.h"
+#include <linux/version.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0))
+#include <soc/qcom/subsystem_restart.h>
+#else
#include <mach/subsystem_restart.h>
+#endif
#include <linux/wcnss_wlan.h>
typedef struct sPalStruct