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