<yhchuang@xxxxxxxxxxx> wrote: > From: Zong-Zhe Yang <kevin_yang@xxxxxxxxxxx> > > In the current design, various chip functions and tables > are built into rtw88 core. That causes kernel to load its > functionalities even if a chip isn't currently used. We > plan to make each chip's functionalities a separate > kernel module to reduce rtw88 core. And kernel will be > able to load the necessary. > > Before extracting chip functionalities, we export symbols > inside rtw88 core which will be used in chip modules. > > Signed-off-by: Zong-Zhe Yang <kevin_yang@xxxxxxxxxxx> > Signed-off-by: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> Fails to compile: ERROR: modpost: "rtw_read8_physical_efuse" [drivers/net/wireless/realtek/rtw88/rtw88_8822c.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 7 patches set to Changes Requested. 11542857 [v3,1/7] rtw88: extract: export symbols used in chip functionalities 11542851 [v3,2/7] rtw88: extract: export symbols about pci interface 11542861 [v3,3/7] rtw88: extract: make 8822c an individual kernel module 11542853 [v3,4/7] rtw88: extract: make 8822b an individual kernel module 11542859 [v3,5/7] rtw88: extract: make 8723d an individual kernel module 11542849 [v3,6/7] rtw88: extract: remove the unused after extracting 11542855 [v3,7/7] rtw88: rename rtw88.ko/rtwpci.ko to rtw88_core.ko/rtw88_pci.ko -- https://patchwork.kernel.org/patch/11542857/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches