--- zzzz-none-000/linux-4.4.60/drivers/net/wireless/ath/wil6210/wil_platform.c 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-1750e-727/linux-4.4.60/drivers/net/wireless/ath/wil6210/wil_platform.c 2021-02-04 17:41:59.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; }