mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 09:56:58 +07:00
staging: fix winbond build, needs delay.h
winbond drivers use msleep() and delay(), so include linux/delay.h in a common header file to prevent build errors. drivers/staging/winbond/phy_calibration.c:987: error: implicit declaration of function 'msleep' drivers/staging/winbond/phy_calibration.c:1556: error: implicit declaration of function 'udelay' drivers/staging/winbond/reg.c:894: error: implicit declaration of function 'msleep' drivers/staging/winbond/reg.c:1178: error: implicit declaration of function 'udelay' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
a3a972a053
commit
412dc7f368
@ -2,6 +2,9 @@
|
||||
|
||||
#ifndef SYS_DEF_H
|
||||
#define SYS_DEF_H
|
||||
|
||||
#include <linux/delay.h>
|
||||
|
||||
#define WB_LINUX
|
||||
#define WB_LINUX_WPA_PSK
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user