Commit 9ab83212 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: add test for B4000000 to ir-usb driver to fix build issue on some archs

parent cbf76102
......@@ -567,7 +567,9 @@ static void ir_set_termios (struct usb_serial_port *port, struct termios *old_te
case B115200: ir_baud = SPEED_115200; break;
case B576000: ir_baud = SPEED_576000; break;
case B1152000: ir_baud = SPEED_1152000; break;
#ifdef B4000000
case B4000000: ir_baud = SPEED_4000000; break;
#endif
}
if (xbof == -1) {
......
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