wifi_bt: Support AP6201BM driver in buildroot [3/6]
authorlei.chen <lei.chen@amlogic.com>
Tue, 13 Dec 2022 09:13:20 +0000 (17:13 +0800)
committerBruno Martins <bgcngm@gmail.com>
Thu, 25 Apr 2024 17:39:34 +0000 (18:39 +0100)
PD#SWPL-97158

Problem:
Need support AP6201BM

Solution:
support AP6201BM driver

Verify:
C3 AW409

Change-Id: I0bb81f4c14f202dc98054af61c0c4e54dce36c0c
Signed-off-by: lei.chen <lei.chen@amlogic.com>
bcmdhd.101.10.361.x/dhd_linux.c

index 3247d121666dbe8f353db054438de9fff6f92c5f..28a3f03d1cb0be8aa6b7306d12a514440fc9cd6c 100755 (executable)
@@ -354,7 +354,7 @@ static struct notifier_block dhd_inet6addr_notifier = {
 static bool dhd_inet6addr_notifier_registered = FALSE;
 #endif /* CONFIG_IPV6 && IPV6_NDO_SUPPORT */
 
-#if defined (CONFIG_PM_SLEEP)
+#if defined (CONFIG_PM)
 #include <linux/suspend.h>
 volatile bool dhd_mmc_suspend = FALSE;
 DECLARE_WAIT_QUEUE_HEAD(dhd_dpc_wait);
@@ -362,7 +362,7 @@ DECLARE_WAIT_QUEUE_HEAD(dhd_dpc_wait);
 volatile bool dhd_mmc_wake = FALSE;
 long long temp_raw;
 #endif /* ENABLE_WAKEUP_PKT_DUMP */
-#endif /* defined(CONFIG_PM_SLEEP) */
+#endif /* defined(CONFIG_PM) */
 
 #if defined(OOB_INTR_ONLY) || defined(BCMSPI_ANDROID) || defined(FORCE_WOWLAN)
 extern void dhd_enable_oob_intr(struct dhd_bus *bus, bool enable);