LINUX_VERSION_IS_GEQ macro from Linux kernel backports package

This commit is contained in:
Hin-Tak Leung 2020-04-24 02:27:58 +01:00
parent 48463b9a50
commit 8c5ffaeed3

View file

@ -28,6 +28,8 @@
#include <sound/simple_card_utils.h> #include <sound/simple_card_utils.h>
#include "ac10x.h" #include "ac10x.h"
#define LINUX_VERSION_IS_GEQ(x1,x2,x3) (LINUX_VERSION_CODE >= KERNEL_VERSION(x1,x2,x3))
/* /*
* single codec: * single codec:
* 0 - allow multi codec * 0 - allow multi codec