--- zzzz-none-000/linux-4.4.271/drivers/net/wireless/ath/wil6210/wil_platform.c 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/drivers/net/wireless/ath/wil6210/wil_platform.c 2023-01-11 09:25:42.000000000 +0000 @@ -16,6 +16,7 @@ #include #include "wil_platform.h" +#include "wil_platform_ipq.h" int __init wil_platform_modinit(void) { @@ -33,7 +34,8 @@ * It returns a handle which is used with the rest of the API * */ -void *wil_platform_init(struct device *dev, struct wil_platform_ops *ops) +void *wil_platform_init(struct device *dev, struct wil_platform_ops *ops, + const struct wil_platform_rops *rops, void *wil_handle) { void *handle = ops; /* to return some non-NULL for 'void' impl. */ @@ -43,7 +45,11 @@ return NULL; } - /* platform specific init functions should be called here */ + handle = ipq_11ad_dev_init(ops, rops, wil_handle); + if (handle) + return handle; + + /* other platform specific init functions should be called here */ return handle; }