소스 검색

qcacld-3.0: fix the runtime pm feature compilation error

Include missing header file to fix the undefined API compilation
error and removed unused variable.

CRs-Fixed: 1107859
Change-Id: I4dcf1b0bb19662ba2c1f3af197ca34b656be7d9a
Sarada Prasanna Garnayak 8 년 전
부모
커밋
e1722637d5
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 2
      core/dp/txrx/ol_txrx.c
  2. 2 1
      core/hdd/src/wlan_hdd_driver_ops.c

+ 0 - 2
core/dp/txrx/ol_txrx.c

@@ -3202,8 +3202,6 @@ QDF_STATUS ol_txrx_runtime_suspend(void *ppdev)
  */
 QDF_STATUS ol_txrx_runtime_resume(void *ppdev)
 {
-	ol_txrx_pdev_handle txrx_pdev = ppdev;
-
 	return QDF_STATUS_SUCCESS;
 }
 #endif

+ 2 - 1
core/hdd/src/wlan_hdd_driver_ops.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015-2017 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -47,6 +47,7 @@
 #include "qwlan_version.h"
 #include "bmi.h"
 #include "cdp_txrx_bus.h"
+#include "cdp_txrx_misc.h"
 #include "pld_common.h"
 #include "wlan_hdd_driver_ops.h"