From 8c5ffaeed3024fb92f16d56832061123636b2646 Mon Sep 17 00:00:00 2001 From: Hin-Tak Leung Date: Fri, 24 Apr 2020 02:27:58 +0100 Subject: [PATCH] LINUX_VERSION_IS_GEQ macro from Linux kernel backports package --- seeed-voicecard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seeed-voicecard.c b/seeed-voicecard.c index f08fbd8..57c108f 100644 --- a/seeed-voicecard.c +++ b/seeed-voicecard.c @@ -28,6 +28,8 @@ #include #include "ac10x.h" +#define LINUX_VERSION_IS_GEQ(x1,x2,x3) (LINUX_VERSION_CODE >= KERNEL_VERSION(x1,x2,x3)) + /* * single codec: * 0 - allow multi codec