Merge branch 'work.splice_read' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / Documentation / serial / serial-rs485.txt
index 2253b8b..389fcd4 100644 (file)
@@ -45,9 +45,8 @@
 
        #include <linux/serial.h>
 
-       /* RS485 ioctls: */
-       #define TIOCGRS485      0x542E
-       #define TIOCSRS485      0x542F
+       /* Include definition for RS485 ioctls: TIOCGRS485 and TIOCSRS485 */
+       #include <sys/ioctl.h>
 
        /* Open your specific device (e.g., /dev/mydevice): */
        int fd = open ("/dev/mydevice", O_RDWR);