wok-current view broadcom-wl64/stuff/016-linux51.patch @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents
children
line source
1 --- a/src/wl/sys/wl_cfg80211_hybrid.c
2 +++ b/src/wl/sys/wl_cfg80211_hybrid.c
3 @@ -43,6 +43,9 @@
4 #define EVENT_FLAGS(e) dtoh16((e)->flags)
5 #define EVENT_STATUS(e) dtoh32((e)->status)
7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
8 +#define get_ds() (KERNEL_DS)
9 +#endif
10 #ifdef BCMDBG
11 u32 wl_dbg_level = WL_DBG_ERR | WL_DBG_INFO;
12 #else
13 --- a/src/wl/sys/wl_iw.c
14 +++ b/src/wl/sys/wl_iw.c
15 @@ -61,6 +61,9 @@ typedef struct priv_link {
16 wl_iw_t *wliw;
17 } priv_link_t;
19 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 1, 0)
20 +#define get_ds() (KERNEL_DS)
21 +#endif
22 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24))
23 #define WL_DEV_LINK(dev) (priv_link_t*)(dev->priv)
24 #else