#define CP210x_MAX_PRODUCT_STRLEN 126
#define CP210x_MAX_SERIAL_STRLEN 63
+#if !defined(__KERNEL__)
/* Mode and latch bit to pin assignments. See AN223 from SiLabs:
* https://www.silabs.com/Support Documents/TechnicalDocs/an223.pdf
*
#define CP210x_ENH_nRS485_TX 0x04
#define CP210x_ENH_nRXLED 0x02
#define CP210x_ENH_nTXLED 0x01
+#endif /* __KERNEL__ */
/* Used to pass variable sized buffers between user and kernel space (ioctls) */
struct cp210x_buffer {