From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 07:24:11 +0000
Subject: [PATCH] add stmac read mac form eeprom

---
 kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_plat.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_plat.h b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_plat.h
old mode 100644
new mode 100755
index d9cd04f..8c07b5b
--- a/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_plat.h
+++ b/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_plat.h
@@ -38,7 +38,7 @@
 #ifdef DHD_COREDUMP
 	int (*set_coredump)(const char *buf, int buf_len, const char *info);
 #endif /* DHD_COREDUMP */
-#if defined(BCMDHD_MDRIVER) && !defined(DHD_STATIC_IN_DRIVER)
+#ifdef BCMDHD_MDRIVER
 	void *(*mem_prealloc)(uint bus_type, int index, int section, unsigned long size);
 #else
 	void *(*mem_prealloc)(int section, unsigned long size);

--
Gitblit v1.6.2