Commit 83fa22d6 authored by Linus Torvalds's avatar Linus Torvalds

usb: edgeport serial driver uses CMSPAR, which not all architectures support

If CMSPAR doesn't exist, just #define it to zero. That makes the
code automatically DTRT.
parent a792ae8e
......@@ -2642,6 +2642,9 @@ static int send_cmd_write_uart_register (struct edgeport_port *edge_port, __u8 r
* This routine is called to set the UART on the device to match the specified
* new settings.
*****************************************************************************/
#ifndef CMSPAR
#define CMSPAR 0
#endif
static void change_port_settings (struct edgeport_port *edge_port, struct termios *old_termios)
{
struct tty_struct *tty;
......
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