Skip to content

Commit

Permalink
Buildfix for Linux 5.17
Browse files Browse the repository at this point in the history
Buildfix for Linux 5.17
  • Loading branch information
kelebek333 committed Mar 9, 2022
1 parent c5d940d commit 2ecdf4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions os_dep/linux/rtw_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ inline struct proc_dir_entry *get_rtw_drv_proc(void)
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 10, 0))
#define PDE_DATA(inode) PDE((inode))->data
#define proc_get_parent_data(inode) PDE((inode))->parent->data
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0))
#define PDE_DATA(inode) pde_data(inode)
#endif

#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24))
Expand Down

0 comments on commit 2ecdf4f

Please sign in to comment.