rtl8812au-ct: fix even more compilation error with kernel 6.1
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 30 Jul 2023 09:30:19 +0000 (11:30 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 30 Jul 2023 09:30:19 +0000 (11:30 +0200)
commita07566ead82a5d33dac5054dd2ade02db9f92e9f
treefdaba2332018af482ede4914fad576704596e168
parent96010bb17c0a15427f60b836165d50617f0dfb1c
rtl8812au-ct: fix even more compilation error with kernel 6.1

Fix more compilation error with kernel 6.1 and make it possible to
compile.

Multiple fix are done due to kernel bump:
- PDE_DATA (now deprecated) to pde_data
- dev_addr now const and require some cast
- prandom_u32 (now deprecated) to get_random_u32

Also other minor fix for always true condition and tasklet type cast not
compatible.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/kernel/rtl8812au-ct/patches/006-os_dep-osdep_service-use-new-get_random_u32.patch [new file with mode: 0644]
package/kernel/rtl8812au-ct/patches/007-treewide-fix-always-TRUE-condition-warning.patch [new file with mode: 0644]
package/kernel/rtl8812au-ct/patches/008-treewide-use-correct-type-for-tasklet_init.patch [new file with mode: 0644]
package/kernel/rtl8812au-ct/patches/009-treewide-drop-const-from-dev_addr.patch [new file with mode: 0644]
package/kernel/rtl8812au-ct/patches/010-os_dep-linux-proc-move-to-pde_data-function.patch [new file with mode: 0644]