Commit b4231817 authored by Cesar Prados's avatar Cesar Prados

wb-serial: change error msg to warning for kernel > 4.10

parent d5187fef
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0) && LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0) #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0) && LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0)
#define API 7 /* v3.7 v3.8 v3.9 */ #define API 7 /* v3.7 v3.8 v3.9 */
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0) #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
#error Enable and use the driver in your native kernel, not this one #warning Enable and use the driver in your native kernel, not this one
#define API 8 /* v3.10+ */ #define API 8 /* v3.10+ */
#else #else
#error Unsupported kernel version #error Unsupported kernel version
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment