> +/* Is this for UART emulation on ARC Instruction Set Simulator (ISS) > */ +int __attribute__((weak)) running_on_iss;
Why not pass a quirks field in your platform data instead - much cleaner than a global. > +static void arc_serial_set_ldisc(struct uart_port *port, int ld) > +{ > +} If you don't need it just remove this one > + new->c_cflag &= ~(CMSPAR|CRTSCTS); also force the CSIZE bits to CS8 if you only do 8N1. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/