0
0
Fork 0

update driver

This commit is contained in:
Daryl Ronningen 2023-11-05 13:03:29 -08:00
parent 6675a67271
commit 96dfe9517c
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
5 changed files with 5 additions and 5 deletions

View file

@ -218,7 +218,7 @@ struct hgic_bus {
#define _KERNEL_READ(fp, buff, size) kernel_read(fp, 0, buff, size) #define _KERNEL_READ(fp, buff, size) kernel_read(fp, 0, buff, size)
#endif #endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0)
#define setup_timer(a, b, c) timer_setup(a, b, 0) #define setup_timer(a, b, c) timer_setup(a, b, 0)
#define init_timer(...) #define init_timer(...)
#endif #endif

View file

@ -852,7 +852,7 @@ static void hgicf_detect_work(struct work_struct *work)
} }
} }
#if !defined(__RTOS__) && LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0) #if !defined(__RTOS__) && LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0)
static void hgicf_detect_timer(struct timer_list *t) static void hgicf_detect_timer(struct timer_list *t)
{ {
struct hgicf_wdev *hg = from_timer(hg, t, detect_tmr); struct hgicf_wdev *hg = from_timer(hg, t, detect_tmr);

View file

@ -608,9 +608,9 @@ int hgic_iwpriv_set_reassoc_wkhost(char *ifname, int enable)
{ {
return hgic_iwpriv_set_int(ifname, "reassoc_wkhost", enable); return hgic_iwpriv_set_int(ifname, "reassoc_wkhost", enable);
} }
int hgic_iwpriv_set_wakeup_io(char *ifname, int wakeup_io) int hgic_iwpriv_set_wakeup_io(char *ifname, int wakeup_io, int edge)
{ {
return hgic_iwpriv_set_int(ifname, "wakeup_io", wakeup_io); return hgic_iwpriv_set_ints(ifname, "wakeup_io", 2, wakeup_io, edge);
} }
int hgic_iwpriv_set_dbginfo(char *ifname, int enable) int hgic_iwpriv_set_dbginfo(char *ifname, int enable)
{ {

View file

@ -1 +1 @@
#define SVN_VERSION "24338" #define SVN_VERSION "25328"