From: lei.chen Date: Tue, 13 Dec 2022 09:13:20 +0000 (+0800) Subject: wifi_bt: Support AP6201BM driver in buildroot [3/6] X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=29c360f8b41727769a646815fa94b79e907ad470;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_dhd-driver.git wifi_bt: Support AP6201BM driver in buildroot [3/6] PD#SWPL-97158 Problem: Need support AP6201BM Solution: support AP6201BM driver Verify: C3 AW409 Change-Id: I0bb81f4c14f202dc98054af61c0c4e54dce36c0c Signed-off-by: lei.chen --- diff --git a/bcmdhd.101.10.361.x/dhd_linux.c b/bcmdhd.101.10.361.x/dhd_linux.c index 3247d12..28a3f03 100755 --- a/bcmdhd.101.10.361.x/dhd_linux.c +++ b/bcmdhd.101.10.361.x/dhd_linux.c @@ -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 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);