kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux_exportfs.c
.. .. @@ -59,7 +59,9 @@ 59 59 { 60 60 int ret = BCME_ERROR; 61 61 if (inode) { 62 -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0))62 +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0))63 + ret = single_open(file, 0, pde_data(inode));64 +#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0))63 65 ret = single_open(file, 0, PDE_DATA(inode)); 64 66 #else 65 67 /* This feature is not supported for lower kernel versions */